Stream

Join this community to post or comment
How I understand and use org-page better after using it for a month
2
Add a comment...

ErgoEmacs

Tutorials  - 
 
there's lots org mode babel tutorial out there, here's my little contribution.
Emacs: Org Mode Tutorial: Embed Source Code, Literate Programing
http://ergoemacs.org/emacs/emacs_org_babel_literate_programing.html
Emacs's org-mode allows you embed language source code in the file, and you can interactively evaluate it, edit it, or export to HTML with evaluated results embedded/updated in the exported file. emacs org mode babel 2015-02-21 Emacs Org mode Babel feature. If you've never used org-mode before, ...
15
8
Alexander Petrov's profile photoJinHong Chen's profile photo
Add a comment...

ErgoEmacs

Tutorials  - 
 
#emacs #lisp command to escape quotes
 http://ergoemacs.org/emacs/elisp_escape_quotes.html
(defun xah-escape-quotes ()
  "Replace 「\"」 by 「\\\"」 in current line or text selection.
That is, add 1 backslash in front of double quote (Unicode codepoint 34).
See also: `xah-unescape-quotes'

Version 2015-01-24
URL `http://ergoemacs.org/emacs/elisp_escape_quotes.html'
"
  (interactive)
  (let (p1 p2)
    (if (use-region-p)
        (progn (setq p1 (region-beginning))
               (setq p2 (region-end)))
      (progn (setq p1 (line-beginning-position))
             (setq p2 (line-end-position))))
    (save-excursion
      (save-restriction
        (narrow-to-region p1 p2)
        (goto-char (point-min))
        (while (search-forward "\"" nil t)
          (replace-match "\\\"" 'FIXEDCASE 'LITERAL))))))

there's also a unescape one. See web page.
This page shows a emacs lisp command to escape/unescape quotes in current line. For example, "xyz". becomes \"xyz\". When using emacs lisp as text processing language, often you need to grab a piece of text and make it a emacs lisp string. When the text is programing code, such as HTML or ...
3
Nick Alcock's profile photo
 
And then there's the real regexp-quote function, which replaces \ with \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ so you can use it in regular expressions. :P
Add a comment...
I learnt to use Emacs' profiler yesterday, after many hours of yak-shaving, trying to get Memacs working. Memacs is a memory extension system for Emacs written by Karl Voit, that I have been meaning to try out for a long time now. Seeing lots of review posts at the turn of the year and watching ...
6
1
Sylvain Benner's profile photo
Add a comment...

Vietor Liu

Tutorials  - 
 
Currently, My prime programme editor is Emacs. In my job, I used js2-mode for NodeJS RESTful projects and used markdown-mode for its documents. …
3
1
Wu Cedric (吴胤骏)'s profile photo
Add a comment...
 
Using the web browser in Emacs 24.4 is as easy as entering the M-x eww mode followed by entering a URL. Here I have loaded the w3c html 5 specification as a one page file. This is my first try viewing from the builtin web browser. There was a noticeable delay before anything was put on display. 
6
2
Rock X Loose (EELV)'s profile photoPawel Kasperek's profile photoJean-Baptiste Yunès's profile photo
6 comments
 
Shift TAB or <backtab> is undefined. 
Add a comment...

Philipp Meier

Tutorials  - 
24
10
alain leufroy's profile photoAndreas K's profile photoJohn Lamb's profile photoKuba Tyszko's profile photo
9 comments
 
+Yuri Khan well, you can disable paredit for single quotes but smartparens might be a better options. For regular text it might not be a great fit anyways.
Add a comment...
 
I'm using Emacs every day, almost for all, in fact i need only two user-level applications at my computer, they are Emacs and web browser (despite on eww in Emacs 25). I use Emacs almost for all, for text editing, for chattin...
4
John Lamb's profile photoXavier Maillard's profile photo
12 comments
 
mu4e is dead simple for eMail ! That's why I switched to it instead of Gnus for my workflow.
Add a comment...

ErgoEmacs

Tutorials  - 
 
#Emacs #Lisp Command to Change Earth-Coordinate to Google Map Link http://ergoemacs.org/emacs/elisp_make_google-map_link.html
This page shows a emacs lisp command to turn earth coordinate into Google Map link. I have a earth coordinate latitude longitude under cursor, like this: 40°42′46″N 74°00′21″W. I want to press a button, and have it changed into a Google Map link, like this: ...
5
2
Nuno Salgueiro's profile photoErgoEmacs's profile photoXah Lee's profile photoMarco Oklitz's profile photo
2 comments
 
+Nuno Salgueiro thank you.
Add a comment...
 
How do you take notes in Org? Are you buried in a heap of uncategorized notes? Do you manually open the right file and navigate to the right heading? Are you mystified by org-capture and org-refile? Here’s a path that can help you learn how to more efficiently take (and organize!) notes in Org Mode. Set up …
18
9
Ivan Pierre's profile photoJinHong Chen's profile photo
Add a comment...
 
 
Nice setup :)
Emacs is My New Window Manager. Most companies that employ me, hand me a “work laptop” as I enter the building. Of course, I do not install personal software and keep a clear division between my “work like” and my “real life.” However, I also don't like to carry two computers just to jot down ...
4 comments on original post
15
4
Lobo Thomas's profile photoYue Ma's profile photoIvaylo Kuzev's profile photoMichael Scharpf's profile photo
2 comments
 
More than a window manager, a window launcher.
(Nice status bar though.)
Add a comment...

Tina Albores

Tutorials  - 
 
haven't tried this yet, although it looks promisingly simple. posting for anyone who might find it useful.
2
Add a comment...

ErgoEmacs

Tutorials  - 
 
#Emacs #Lisp. updated code. added feature to skip dired buffer. Switching Next/Previous User Buffers http://ergoemacs.org/emacs/elisp_next_prev_user_buffer.html
This page shows you emacs lisp commands to switch between user's buffers. Emacs often generates a lot buffers that users are not interested in cycling thru. Examples of emacs generated buffers: *scratch*; *Messages*; *shell*; *Shell Command Output*; *Occur*; *Completions*; *Apropos*; *info* ...
3
Add a comment...

Gaurav Verma

Tutorials  - 
 
May be a repeated share but an Excellent Mini Manual written by +Tu Do : http://tuhdo.github.io/
Table of Contents. Emacs Mini Manual (PART 1) - THE BASICS · Emacs Mini Manual (PART 2) - LISP PRIMER: WHY PARENTHESES MATTER · Emacs Mini Manual (PART 3) - CUSTOMIZING AND EXTENDING EMACS · Setup C/C++ Development Environment for Emacs · A Package in a league of its own: Helm · Exploring large ...
5
3
Dmytro Bevzenko's profile photoAndreas K's profile photo
Add a comment...
Literate DevOps. Maintaining servers falls into two phases: Bang head until server works; Capture effort into some automation tool like Puppet or Chef. Recently, I've been playing around with making the first phase closer to the second. For lack of a better word, I'm calling it literate devops.
15
7
Andreas K's profile photoAdolfo De Unánue's profile photoMichael Scharpf's profile photoMehmet Atıf Ergün's profile photo
3 comments
 
Good
Add a comment...

Boy Wang

Tutorials  - 
 
How to use font-lock-keywords to highlight keyword at specific line:
Sample:
==========
;; Use (font-lock-add-keywords) to add keywords:
`(((lambda (limit)
     (catch 'found
       ;; Search THING only at LINUM line.
       (while (re-search-forward ,THING limit t)
         (when (= (line-number-at-pos) ,LINUM)
           (throw 'found t)))))
   0 'highlight prepend))
;; Remember to use (font-lock-fontify-region) to enable highlights
(font-lock-fontify-region (point-min) (point-max))
==========
According to Emacs manual, chapter of "Search Based Fontification". We know the matcher of keywords (see font-lock-keywords) could be a function. This function return non-nil makes font-lock-mode to highlight keyword refer to (match-data), which means you could use (re-search-forward ...) or (re-search-backward ...) to make highlight. But the point and boundary argument in the matcher function seems being arbitrary for some performance concern. So we use a tricky way to make it by searching keywords across whole buffer and fontify whole buffer as well.
Enjoy!~ :D
The value of this variable is a list of the keywords to highlight. Lisp programs should not set this variable directly. Normally, the value is automatically set by Font Lock mode, using the keywords element in font-lock-defaults . The value can also be altered using the functions ...
1
Add a comment...

ErgoEmacs

Tutorials  - 
 
#emacs: How to find the current font used? call describe-char. http://ergoemacs.org/emacs/emacs_list_and_set_font.html
How to find the current font used? Call describe-char , then look at the line in “display:” like. It showes the font used for the character under cursor. here's a sample output: position: 4968 of 17021 (29%), column: 23 character: d (displayed as d) (codepoint 100, #o144, #x64) preferred ...
6
1
Vincent Schumaker's profile photoJeroen Tiebout's profile photo
 
Good stuff. I've tried to migrate away from DejaVu a few times and always find myself going back. I wish I could get whatever font emacs uses in OS X in Linux. Adobe's SourceCodePro is close but doesn't quite make it.
Add a comment...
 
Help wanted!

Intro for using git, debbugs and compiling Emacs
14
4
Sylvain Benner's profile photoIngolf Schaefer's profile photoKing Sun's profile photoKam-Yung Soh's profile photo
7 comments
zixu mo
 
Both !. LOL
Add a comment...
 
if you are new to emacs regex, here's a simple tutorial covering the most common questions. http://ergoemacs.org/emacs/emacs_regex.html
This page is a tutorial on emacs regex. Regex Commands. The most commonly used command that uses regex is query-replace-regexp . 〔➤ Emacs: Find/Replace Tutorial〕. Others are dired-do-query-replace-regexp . 〔➤ Emacs: Interactively Find/Replace String Patterns on Multiple Files〕 ...
6
1
alex heiden's profile photo
Add a comment...