<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-10002230</id><updated>2023-06-20T22:07:56.687-07:00</updated><title type='text'>#emacs tidbits</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default?alt=atom'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/'/><author><name>Sacha</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://sacha.free.net.ph/notebook/pics/picon-sacha.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-10002230.post-111415028436004284</id><published>2005-04-20T23:59:00.000-07:00</published><updated>2005-04-21T23:15:26.950-07:00</updated><title type='text'>2005.04.20</title><content type='html'>&lt;dl&gt;
&lt;dt&gt;Gnus&lt;/dt&gt;
&lt;dd&gt;Although Gnus&#39; interface is more like a news reader than other mail clients, its rich features make it a popular choice for reading mail in Emacs.&lt;/dd&gt;
 &lt;dd&gt; You can use / o to show old messages.&lt;/dd&gt;
 &lt;dd&gt; Check out swish++, mairix, and other mail search engines.&lt;/dd&gt;
 &lt;dd&gt; &lt;a href=&quot;http://my.gnus.org&quot;&gt;http://my.gnus.org&lt;/a&gt; has sample configuration files.
&lt;/dd&gt;
&lt;dt&gt;Templates&lt;/dt&gt;
&lt;dd&gt;
If you want to define templates so that creating a new LaTeX file will prompt you for a template and fill it in, check out &lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki/CategoryTemplates&quot;&gt;EmacsWiki:&lt;/a&gt; and &lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki/CategoryTemplates&quot;&gt;EmacsWiki:&lt;/a&gt;.
&lt;/dd&gt;
&lt;dt&gt;Finder-by-keyword&lt;/dt&gt;
&lt;dd&gt;
To see a brief description of various packages included in your Emacs, use C-h p (Finder-by-keyword).
&lt;/dd&gt;
&lt;dt&gt;Planner&lt;/dt&gt;
&lt;dd&gt;
If you want to see your appointments for today, use planner-appt.el and M-x planner-appt-show-alerts.&lt;/dd&gt;
 &lt;dd&gt; If you want to associate tasks with more than one list, check out planner-multi.el.&lt;/dd&gt;
 &lt;dd&gt; planner-delicious rewrites a section of your planner page to include all of your links with a certain tag.
&lt;/dd&gt;
&lt;dt&gt;delicious&lt;/dt&gt;
&lt;dd&gt;
delicious-el supports w3m import and export, tab completion on tags, search, etc.&lt;/dd&gt;
 &lt;dd&gt; darcs get &lt;a href=&quot;http://www.wjsullivan.net/darcs/delicious-el&quot;&gt;http://www.wjsullivan.net/darcs/delicious-el&lt;/a&gt;
&lt;/dd&gt;
&lt;dt&gt;Changing the font&lt;/dt&gt;
&lt;dd&gt;
In GNU Emacs, shift-left-click-and-drag to change the font temporarily.&lt;/dd&gt;
 &lt;dd&gt; M-x set-frame-font changes the font temporarily.&lt;/dd&gt;
 &lt;dd&gt; M-x customize-face RET default RET changes the font permanently.&lt;/dd&gt;
 &lt;dd&gt; You can also change the Emacs*font Xresource or start Emacs with the -fn switch.&lt;/dd&gt;
 &lt;dd&gt; Get the font string with xfontsel.
&lt;/dd&gt;
&lt;dt&gt;Wrapping code at 80 chars&lt;/dt&gt;
&lt;dd&gt;
You can use GNU indent to reformat your C++ code to fit within 80 columns. Call &quot;indent&quot; or &quot;astyle&quot; using shell-command-on-region.
&lt;/dd&gt;
&lt;dt&gt;ERC keywords&lt;/dt&gt;
&lt;dd&gt;
Use erc-keywords together with erc-match-mode to keep track of when people mention your name or other keywords you&#39;re interested in.
&lt;/dd&gt;&lt;dd&gt; Check out the &quot;minimal distraction&quot; section in &lt;a href=&quot;http://www.emacswiki.org/wiki/ErcChannelTracking&quot;&gt;EmacsWiki:&lt;/a&gt;.
&lt;/dd&gt;&lt;dd&gt; Add every channel to erc-track-priority-faces-only, and then modify erc-track-faces-priority-list to something like (erc-current-nick-face erc-keyword-face erc-pal-face erc-nick-msg-face erc-direct-msg-face).
&lt;/dd&gt;&lt;dd&gt; &lt;a href=&quot;http://paste.lisp.org/display/7563&quot;&gt;lisppaste:&amp;#32;making&amp;#32;a&amp;#32;channel&amp;#32;switch&amp;#32;from&amp;#32;priority-keywords-only&amp;#32;to&amp;#32;excluded&amp;#32;to&amp;#32;always&amp;#32;tracked&lt;/a&gt; shows off switching between channels where you want to track everything that&#39;s said (when you have free time), channels where you want to only see activity that&#39;s important (when you have little free time), and channels that you don&#39;t care about, but want to stay joined to.
&lt;/dd&gt;
&lt;dt&gt;TRAMP&lt;/dt&gt;
&lt;dd&gt;
You can configure TRAMP to back up locally by setting tramp-auto-save-directory.
&lt;/dd&gt;
&lt;dt&gt;Redoing complex commands&lt;/dt&gt;
&lt;dd&gt;
You can use C-x M-: or C-x ESC ESC to repeat a complex command. This also allows you to get the Lisp form for inclusion in your ~/.emacs or other programs.
&lt;/dd&gt;
&lt;/dl&gt;</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/111415028436004284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=111415028436004284' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/111415028436004284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/111415028436004284'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/04/20050420.html' title='2005.04.20'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110869090687355433</id><published>2005-02-17T23:59:00.000-08:00</published><updated>2005-02-28T20:56:55.186-08:00</updated><title type='text'>2005.02.17</title><content type='html'>&lt;h2&gt; Editing&lt;/h2&gt;

&lt;dl&gt;
&lt;dt&gt;Copying and pasting&lt;/dt&gt;
&lt;dd&gt;
Set x-select-enable-clipboard to non-nil so that you can copy and paste between Emacs and other applications in X.
&lt;/dd&gt;
&lt;dt&gt;Changelog e-mail address&lt;/dt&gt;
&lt;dd&gt;
Customize user-mail-address so that your changelog entries have the right address.
&lt;/dd&gt;
&lt;dt&gt;Parentheses&lt;/dt&gt;
&lt;dd&gt;
Highlight matching parentheses in GNU Emacs with M-x show-paren-mode.
&lt;/dd&gt;
&lt;dt&gt;Scrolling&lt;/dt&gt;
&lt;dd&gt;
To make the current line the top line in the buffer, use C-u 0 C-l (C-u 0 M-x recenter).
&lt;/dd&gt;
&lt;/dl&gt;

&lt;h2&gt; Lisp&lt;/h2&gt;

&lt;dl&gt;
&lt;dt&gt;More Emacs Lisp strangeness&lt;/dt&gt;
&lt;dd&gt;
(string= &quot;t&quot; t), (string= &quot;nil&quot; nil)
&lt;/dd&gt;
&lt;dt&gt;split-string&lt;/dt&gt;
&lt;dd&gt;
The behavior of split-string has changed when used with a non-nil second argument. It used to omit leading and trailing zero length strings.
It no longer does that unless the third (new) argument OMIT-NULLS is true (this will also omit empty strings in the middle of the list). As
a special kludge it has the old behavior in the single argument case. - corrected by bojohan
&lt;/dd&gt;
&lt;dt&gt;Printing messages&lt;/dt&gt;
&lt;dd&gt;
To print to the echo area without writing to the Messages buffer, bind message-log-max to nil. - corrected by bojohan
&lt;/dd&gt;
&lt;/dl&gt;

&lt;h2&gt; Add-ons&lt;/h2&gt;

&lt;dl&gt;
&lt;dt&gt;Planner&lt;/dt&gt;
&lt;dd&gt;
If you want to be reminded about appointments, you can store your appointments in Diary and then have Diary remind you. Or you can bug rsh about the upcoming planner-appt.el...
&lt;/dd&gt;
&lt;dt&gt;Eshell&lt;/dt&gt;
&lt;dd&gt;
You can disable the eshell exit message by tweaking eshell-save-history-on-exit or eshell-ask-to-save-history.
&lt;/dd&gt;
&lt;dt&gt;Web-browsing&lt;/dt&gt;
&lt;dd&gt;
w3 is a web browser written in Emacs Lisp. w3m-el is a Lisp interface to the w3m web browser. It feels faster because it uses an external process.
&lt;/dd&gt;
&lt;dt&gt;Presentations&lt;/dt&gt;
&lt;dd&gt;
Check out magicpoint for a way to make slides using simple markup.
&lt;/dd&gt;
&lt;/dl&gt;</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110869090687355433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110869090687355433' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110869090687355433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110869090687355433'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/02/20050217.html' title='2005.02.17'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110613888098557885</id><published>2005-01-14T23:59:00.000-08:00</published><updated>2005-01-19T06:36:58.710-08:00</updated><title type='text'>2005.01.14</title><content type='html'>&lt;h3&gt;Packages&lt;/h3&gt;

&lt;dl&gt;
&lt;dt&gt;Working with remote files&lt;/dt&gt;
&lt;dd&gt;
If you&#39;re having problems with Ange-FTP but your server supports SCP, check out TRAMP. You may want to set up SSH key-based authentication as well so that you don&#39;t have to keep entering your passphrase.
&lt;/dd&gt;
&lt;dt&gt;RSS&lt;/dt&gt;
&lt;dd&gt;
Check out the nnrss module for Gnus. G R runs gnus-group-make-rss-group. You can use it to subscribe to this feed at &lt;a href=&quot;http://feeds.feedburner.com/emacstidbits-rss20&quot;&gt;http://feeds.feedburner.com/emacstidbits-rss20&lt;/a&gt; . W h (gnus-article-wash-html) converts entries to HTML. You can also use bloglines.com , a web-based aggregator.
&lt;/dd&gt;
&lt;dt&gt;RCIRC&lt;/dt&gt;
&lt;dd&gt;
RCIRC is another small IRC client for Emacs. It has less than 1000 lines of code. Check out the #rcirc channel.
&lt;/dd&gt;
&lt;dt&gt;Planner&lt;/dt&gt;
&lt;dd&gt;
New option planner-expand-name-default makes people who normally schedule everything at +2 very happy.
&lt;/dd&gt;
&lt;dt&gt;Gnus tips&lt;/dt&gt;
&lt;dd&gt;
G S u runs gnus-summary-sort-by-unread. Try it in the Group buffer.
&lt;/dd&gt;
&lt;dt&gt;TeX tips&lt;/dt&gt;
&lt;dd&gt;
Check out &lt;a href=&quot;http://www.ling.upenn.edu/advice/latex/qtree/&quot;&gt;qtree.sty&lt;/a&gt;, which is good for Lisp-heads. mla-paper on CTAN might be useful. &lt;a href=&quot;http://komascript.de&quot;&gt;koma-script&lt;/a&gt;, too.
&lt;/dd&gt;
&lt;dt&gt;ERC bugs&lt;/dt&gt;
&lt;dd&gt;
See &lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki/ErcBugs&quot;&gt;http://www.emacswiki.org/cgi-bin/wiki/&lt;/a&gt; for instructions. Don&#39;t just discuss bugs in #emacs!
&lt;/dd&gt;
&lt;dt&gt;Del.icio.us&lt;/dt&gt;
&lt;dd&gt;
delicious-el now does some basic w3m bookmark exporting
&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Emacs editing stuff&lt;/h3&gt;

&lt;dl&gt;
&lt;dt&gt;Goto line&lt;/dt&gt;
&lt;dd&gt;
For some reason, goto-line does not have a default keybinding. Fix this by adding something like (global-set-key [(meta ?g)] &#39;goto-line) to your ~/.emacs.
&lt;/dd&gt;
&lt;dt&gt;Getting help&lt;/dt&gt;
&lt;dd&gt;
Do you know about M-x finder-commentary yet? It&#39;s a great addition to info, apropos, and describe-function.
&lt;/dd&gt;
&lt;dt&gt;Copying in XEmacs&lt;/dt&gt;
&lt;dd&gt;
(setq interprogram-cut-function &#39;own-clipboard) (setq interprogram-paste-function &#39;get-clipboard)
&lt;/dd&gt;
&lt;dt&gt;Auto Revert&lt;/dt&gt;
&lt;dd&gt;
If you need to fire up another Emacs instance temporarily and that instance will modify files open in your current Emacs, save everything (C-x s !), use and close the other Emacs, then toggle M-x global-auto-revert-mode twice to refresh all the files in the current Emacs session.
&lt;/dd&gt;
&lt;dt&gt;Character count&lt;/dt&gt;
&lt;dd&gt;
Pipe everything to the wc utility or use M-= (count-lines-region). tex-count-words is also neat.
&lt;/dd&gt;
&lt;/dl&gt;

&lt;h3&gt;Coding&lt;/h3&gt;

&lt;dl&gt;
&lt;dt&gt;Debugging Emacs Lisp&lt;/dt&gt;
&lt;dd&gt;
M-x toggle-debug-on-error will give you a backtrace when your program dies with an error. edebug is handy for stepping through code.
&lt;/dd&gt;
&lt;dt&gt;Advice&lt;/dt&gt;
&lt;dd&gt;
C functions calling C functions will ignore any advice.
&lt;/dd&gt;
&lt;dt&gt;Defining derived modes&lt;/dt&gt;
&lt;dd&gt;
define-derived-mode makes it very easy to write a mode that behaves like another one.
&lt;/dd&gt;
&lt;/dl&gt;

</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110613888098557885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110613888098557885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110613888098557885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110613888098557885'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050114.html' title='2005.01.14'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110592692424752271</id><published>2005-01-13T23:59:00.000-08:00</published><updated>2005-01-16T18:08:45.476-08:00</updated><title type='text'>2005.01.13</title><content type='html'>&lt;p&gt;
,commands are stuff to tell fsbot on irc.freenode.net. For
example, ,w3m means /msg fsbot w3m .

&lt;/p&gt;

&lt;p&gt;
External packages

&lt;/p&gt;

&lt;dl&gt;
&lt;dt&gt;w3m&lt;/dt&gt;
&lt;dd&gt;
a console-based Web browser with excellent Emacs support. &lt;a href=&quot;http://w3m.sourceforge.net&quot;&gt;http://w3m.sourceforge.net&lt;/a&gt;, &lt;a href=&quot;http://emacs-w3m.namazu.org&quot;&gt;http://emacs-w3m.namazu.org&lt;/a&gt;&lt;/dd&gt;
&lt;dd&gt;Turn on images with M-x w3m-toggle-inline-images-permanently .&lt;/dd&gt;
&lt;dt&gt;Emacspeak&lt;/dt&gt;
&lt;dd&gt;
an audio desktop environment for Emacs. You can use a free speech synthesizer like flite to get speech feedback for Emacs functions. See ,emacspeak for more details.
&lt;/dd&gt;
&lt;dt&gt;Transparent remote file access&lt;/dt&gt;
&lt;dd&gt;
You can use TRAMP to access files over SSH from your Emacs or XEmacs.
&lt;/dd&gt;
&lt;dt&gt;ERC doctor&lt;/dt&gt;
&lt;dd&gt;
Check out ,ercdoctor for code to run M-x doctor on whatever was last said on IRC.
&lt;/dd&gt;
&lt;dt&gt;Templates&lt;/dt&gt;
&lt;dd&gt;
You can use ,template packages to automatically insert text when you create a file.
&lt;/dd&gt;
&lt;dt&gt;Reformatting HTML&lt;/dt&gt;
&lt;dd&gt;
Try HTML Tidy at &lt;a href=&quot;http://www.emacswiki.org/elisp/tidy.el&quot;&gt;http://www.emacswiki.org/elisp/tidy.el&lt;/a&gt; or the command-line htmltidy program.
&lt;/dd&gt;
&lt;dt&gt;Battery support&lt;/dt&gt;
&lt;dd&gt;
Laptop users can keep track of their battery life with battery.el . &lt;a href=&quot;http://sprocket.stanaway.net/~david/emacs/battery-pmac.el&quot;&gt;http://sprocket.stanaway.net/~david/emacs/battery-pmac.el&lt;/a&gt; for Powerbooks.
&lt;/dd&gt;
&lt;dt&gt;Take typing breaks&lt;/dt&gt;
&lt;dd&gt;
typebreak encourages you to rest every so often.
&lt;/dd&gt;
&lt;dt&gt;Converting Mutt .alias files to BBDB&lt;/dt&gt;
&lt;dd&gt;
Check out ,bbdb for more information.
&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;
Editing

&lt;/p&gt;

&lt;dl&gt;
&lt;dt&gt;Distinguishing filenames in the modeline&lt;/dt&gt;
&lt;dd&gt;
(require &#39;uniquify) (setq uniquify-buffer-name-style &#39;forward)
&lt;/dd&gt;
&lt;dt&gt;Abbrev mode&lt;/dt&gt;
&lt;dd&gt;
If you use abbrev-mode, make sure your abbreviations are composed of word characters. Characters like &quot;;&quot; will not be recognized.
&lt;/dd&gt;
&lt;dt&gt;Clipboard in XEmacs&lt;/dt&gt;
&lt;dd&gt;
(setq interprogram-paste-function &#39;get-selection-foreign)
&lt;/dd&gt;
&lt;dt&gt;Goto-line keybinding&lt;/dt&gt;
&lt;dd&gt;
Not bound by default. M-g seems to be a popular keybinding for this.
&lt;/dd&gt;
&lt;dt&gt;Regexp replacement&lt;/dt&gt;
&lt;dd&gt;
To replace text between AAA and BBB, M-x query-replace-regexp RET \(AAA\).*\(BBB\) RET \1whatever\2. \1 and \2 save the contents of the parentheses groups in the regular expression.
&lt;/dd&gt;
&lt;dt&gt;Recognizing function key sequences&lt;/dt&gt;
&lt;dd&gt;
The function-key-map variable allows you to recognize function keys if you only have their ASCII equivalents. In the console, C-q &amp;lt;control-sequence&amp;gt; to find out what to put in this variable. For example, (define-key function-key-map &quot;\e05D&quot; [C-left])&lt;/dd&gt;
&lt;/dl&gt;

&lt;p&gt;
Coding

&lt;/p&gt;

&lt;dl&gt;
&lt;dt&gt;Minor modes in files&lt;/dt&gt;
&lt;dd&gt;
Check out the Emacs info node on &quot;File Variables&quot; to find out more about setting local variables when a file is loaded.
&lt;/dd&gt;
&lt;dt&gt;Case sensitivity in commands&lt;/dt&gt;
&lt;dd&gt;
M-x FOO and M-x foo are different, but C-x F is translated to C-x f if the former is not bound.
&lt;/dd&gt;
&lt;dt&gt;Shell-scripting with Emacs&lt;/dt&gt;
&lt;dd&gt;
#!/path/to/CVS/emacs --script . You can use command-line-args[-left] to access arguments and kill-emacs to specify an exit code.
&lt;/dd&gt;
&lt;dt&gt;Advising primitives&lt;/dt&gt;
&lt;dd&gt;
See (info &quot;(elisp)Advising Primitives&quot;) . It works on the Lisp level, but not on the C level.
&lt;/dd&gt;
&lt;dt&gt;Bitwise operations&lt;/dt&gt;
&lt;dd&gt;
(info &quot;(elisp)Bitwise Operations&quot;) if you need to do funky binary operations. Don&#39;t forget that 0 != nil.
&lt;/dd&gt;
&lt;dt&gt;CVS Emacs bug with defcustom variables&lt;/dt&gt;
&lt;dd&gt;
Defcustom variables are broken as of 2004-12-27.
&lt;/dd&gt;
&lt;/dl&gt;
</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110592692424752271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110592692424752271' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110592692424752271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110592692424752271'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050113.html' title='2005.01.13'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110561886563935351</id><published>2005-01-12T23:59:00.000-08:00</published><updated>2005-01-13T04:22:53.196-08:00</updated><title type='text'>2005.01.12</title><content type='html'>&lt;p&gt;&lt;ul&gt;
&lt;li&gt;See more of the hello messages in C-h h by downloading intlfonts.&lt;/li&gt;
&lt;li&gt;Input special characters by typing C-q followed by the character or the octal code for that character.&lt;/li&gt;
&lt;li&gt;Want to remind yourself about modified but uncommitted files? Add something to kill-emacs-query-functions.&lt;/li&gt;
&lt;li&gt;Tweak symbols used for console displays by setting buffer-display-table.&lt;/li&gt;
&lt;li&gt;Automatically recognize .fpp files as Fortran with (add-to-list &#39;auto-mode-alist &#39;(&amp;quot;\\.fpp\\&#39;&amp;quot; . fortran-mode))&lt;/li&gt;
&lt;li&gt;Set your shell prompt in ~/.emacs_SHELLNAME (ex: ~/.emacs_bash).&lt;/li&gt;
&lt;li&gt;Lots of diff modes: xxdiff, UniDiffMode, DiffMode, EmergeDiff&lt;/li&gt;
&lt;li&gt;For autocompletion and lots of other goodies, check out cedet.&lt;/li&gt;
&lt;li&gt;If you want Emacs started with a default height, width, and other attributes, check out default-frame-alist or ~/.Xresources .&lt;/li&gt;
&lt;li&gt;Can &lt;a href=&quot;http://webcleaner.sourceforge.net&quot;&gt;http://webcleaner.sourceforge.net&lt;/a&gt; be used to Javascript-enable w3m?&lt;/li&gt;
&lt;li&gt;sxemacs, a new Emacs fork, ran indent(1) over all the Emacs C code.&lt;/li&gt;
&lt;li&gt;Issue: mixal-mode.el has problems font-locking comments when text after a command contains a *. Example: ADD 3 this * foo&lt;/li&gt;
&lt;li&gt;Mini-emacsen: zile, jasspa-microemacs, quemacs&lt;/li&gt;
&lt;li&gt;If your Emacs shows a black line on the first and last row, that could be visual bell.&lt;/li&gt;
&lt;li&gt;To make Emacs 21 look more like Emacs 20, (menu-bar-mode -1) (tool-bar-mode -1) (setq scalable-fonts-allowed nil) (blink-cursor-mode -1)
&lt;/li&gt;
&lt;li&gt;Control ERC line rotation in a channel buffer with (setq erc-max-buffer-size 600000) and erc-truncate mode
&lt;/li&gt;
&lt;li&gt;Auctex shortcut for closing environments: C-c ]
&lt;/li&gt;
&lt;li&gt;To edit a dired buffer by hand and commit changes, see wdired.el.
&lt;/li&gt;
&lt;li&gt;re-builder can help you build regular expressions.
&lt;/li&gt;
&lt;li&gt;Lots of discussion about ERC prompts, front-sticky, and rear-nonsticky.
&lt;/li&gt;
&lt;li&gt;From comp.emacs: &lt;a href=&quot;http://www.therandymon.com/papers/emacs-for-writers.pdf&quot;&gt;http://www.therandymon.com/papers/emacs-for-writers.pdf&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Web browsers for Emacs: w3m, w3, lynx, or any of the console browsers. w3 is written in Emacs Lisp. w3m has good Emacs support.
&lt;/li&gt;
&lt;li&gt;w3m: Can&#39;t get to a self-signed authenticated site? Also, simple-wiki messes with its keybindings.
&lt;/li&gt;
&lt;li&gt;M-x toggle-truncate-lines to turn off wrapping
&lt;/li&gt;
&lt;li&gt;Recursive edit is wonderful. You can do other commands while you&#39;re in the minibuffer.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110561886563935351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110561886563935351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110561886563935351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110561886563935351'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050112.html' title='2005.01.12'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110554105458026034</id><published>2005-01-11T23:59:00.000-08:00</published><updated>2005-01-12T06:44:14.580-08:00</updated><title type='text'>2005.01.11</title><content type='html'>&lt;ul&gt;
&lt;li&gt;New bookmark integration for delicious-el: &lt;code&gt;delicious-w3m-bookmark-recent&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Modify backup settings by changing &lt;code&gt;backup-directory-alist&lt;/code&gt; . &lt;kbd&gt;fsbot: backups&lt;/kbd&gt; for more details.
&lt;/li&gt;
&lt;li&gt;To view DVI files with kdvi instead of xdvi, modify TeX-view-style and TeX-output-view-style
&lt;/li&gt;
&lt;li&gt;If you have a region, you can use rectangle commands. kill-rectangle, yank-rectangle... If you want to
  see rectangles, use either cua or rectanglemark.
&lt;/li&gt;
&lt;li&gt;C-u C-x = describes the current character in great detail.
&lt;/li&gt;
&lt;li&gt;Automatically identify yourself on nickserv using erc-nickserv.
&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;fsbot: MetaKeyProblems&lt;/kbd&gt; explains how to get AltGr to work.
&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;fsbot: nonascii&lt;/kbd&gt; has some advice on getting rid of non-ASCII characters that are forcing
  your text files into strange encodings.
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;fmakunbound&lt;/code&gt; or &lt;code&gt;makunbound&lt;/code&gt; will unbind a function or variable.
&lt;/li&gt;
&lt;li&gt;&lt;kbd&gt;M-x FOO&lt;/kbd&gt; and &lt;kbd&gt;M-x foo&lt;/kbd&gt; are different, but &lt;kbd&gt;C-x F&lt;/kbd&gt; and &lt;kbd&gt;C-x f&lt;/kbd&gt; are the same unless you remind one of them.
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;eval-after-load&lt;/code&gt; is useful for running code or adding functions to hooks after loading a package. This should be declared outside the package to be loaded. Don&#39;t forget to quote the body, like this: &lt;code&gt;(eval-after-load &quot;some-file&quot; &#39;(progn do-stuff))&lt;/code&gt; Other things that might be useful: &lt;code&gt;autoload&lt;/code&gt;, setting variables in a config file, using a load hook.
&lt;/li&gt;
&lt;li&gt;Keep track of long Emacs Lisp defuns while programming: &lt;code&gt;which-function-mode&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Try pressing RET on lines in a backtrace to jump to the location, if possible. For more powerful debugging, see (info &quot;(elisp)Edebug&quot;)
&lt;/li&gt;
&lt;li&gt;Want to fill lines with a prefix? Check out filladapt.
&lt;/li&gt;
&lt;li&gt;You can use &lt;code&gt;symbol-function&lt;/code&gt; to find the definition of a function.
&lt;/li&gt;
&lt;li&gt;Issue: diary.el drops the starting # from &quot;10 * #A0&quot;. For planner-cyclic tasks, use &quot;10/* #A0 ...&quot; instead.
&lt;/li&gt;
&lt;li&gt;Issue: perl.exe and python.exe appear to hang on eshell on ntemacs, although M-x python-mode does the right thing when the shell is invoked. Contact smitty1e for more details.
&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110554105458026034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110554105458026034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110554105458026034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110554105458026034'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050111.html' title='2005.01.11'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110562030911507712</id><published>2005-01-10T23:59:00.000-08:00</published><updated>2005-01-13T05:17:35.910-08:00</updated><title type='text'>2005.01.10</title><content type='html'>&lt;p&gt;Contributed by p00ya&lt;/p&gt;
&lt;pre&gt;
* Editing

** Capitalize a word
  M-c will Capitalize a word.

** Switching frames
  C-x 5 o will switch frames, when your window manager doesn&#39;t take
  care of it.  However, this reportedly does not work with ECB, so you
  can try windmove instead.

** using the TAB key as a literal tab or naive indent
  Use C-q TAB or M-i to prevent your major-mode from interpreting your
  tab.

* Extending

** bbdb to diary records
  To get warnings of important dates (namely, birthdays in a bbdb) in
  advance, use bbdb-birthday-diary-export to get them to diary.

** danish keyboards
  There are problems with AltGr being Meta.  This helps:
   (set-language-environment &#39;latin-1)
   (set-keyboard-coding-system &#39;iso-latin-1)
   (add-to-list &#39;process-environment &quot;LOCALE=3DC&quot;)

** an interactive macro-like DWIM insertion idea
  I don&#39;t get this, and neither did others, but it seems interesting
  if somewhat misguided.  see: http://paste.lisp.org/display/4860

** removing the menu
  Use (menu-bar-mode -1) to turn off menu bars.

** Getting key definitions on funky terminals
  When your terminal won&#39;t let you type C-c C-SPC, you can just eval:
    (key-binding (kbd &quot;C-c C-SPC&quot;))

* Programming

** sequence-like operations
  aref and aset are for getting/setting elements of arrays, vectors,
  strings, char-tables and bool-vectors being arrays

** filtering a list
  To filter a list based on a predicate, use (delq (mapcar p list))
  where the predicate evaluates to nil to exclude an element

** fun with times
   (require &#39;time-date) for useful time and date utilities.
   (days-between) calculates the difference in days between two dates
   as strings.

*** age in days
    If you were born on the 31st of December in 1980, then you would
    be:

      (- (time-to-days (current-time))
	 (time-to-days (encode-time 0 0 0 31 12 1980))

    days old.

*** parsing times
   For a quick hack to parse a yyyy-mm-dd style date, try:

     (mapcar &#39;string-to-number
	     (split-string &quot;1994-12-15&quot; &quot;-&quot;)) =&gt; (1994 12 15)

*** formatting times
   To convert (current-time) to a human readable date, use
   (format-time-string).  To turn numbers into strings, use
   (number-to-string).

** appending text to a specific buffer
   Try:

     (with-current-buffer (get-buffer &quot;*scratch*&quot;)
       (insert-string &quot;hi there\n&quot;))
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110562030911507712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110562030911507712' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110562030911507712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110562030911507712'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050110.html' title='2005.01.10'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110535003231309256</id><published>2005-01-09T23:59:00.000-08:00</published><updated>2005-01-12T07:13:48.913-08:00</updated><title type='text'>2005.01.09</title><content type='html'>&lt;p&gt;&lt;ul&gt;
&lt;li&gt; Capturing a keyboard macro: &lt;kbd&gt;C-x ( &amp;lt;stuff you want to do&amp;gt; C-x ) M-x name-last-kbd-macro RET foo RET C-x C-f ~/.emacs RET M-x insert-kbd-macro RET foo RET C-x C-s&lt;/kbd&gt;&lt;/li&gt;
&lt;li&gt; Insert the output of a shell command: C-u M-!&lt;/li&gt;
&lt;li&gt; file-name-extension: get the extension of a file&lt;/li&gt;
&lt;li&gt; &lt;code&gt;(define-key minibuffer-local-completion-map (kbd &quot;SPC&quot;) nil)&lt;/code&gt; - find ways to make this work for only this call of completing-read&lt;/li&gt;
&lt;li&gt; remove-if-not is a CL function for filtering lists.&lt;/li&gt;
&lt;li&gt; To pad columns with spaces, use negative precision in format. Ex: &lt;code&gt;(format &quot;%-10s%-10s&quot; &quot;aa&quot; &quot;bbb&quot;)&lt;/code&gt;&lt;/li&gt;
&lt;li&gt; ielm: Interactively interpret Emacs Lisp expressions&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110535003231309256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110535003231309256' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110535003231309256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110535003231309256'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050109.html' title='2005.01.09'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110534904819952203</id><published>2005-01-08T23:59:00.000-08:00</published><updated>2005-01-12T07:14:26.916-08:00</updated><title type='text'>2005.01.08</title><content type='html'>&lt;p&gt;
&lt;strong&gt;IRC stuff&lt;/strong&gt;

&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;rcirc, a new IRC client for Emacs: &lt;a href=&quot;http://www.emmet.ca/~rcyeske/rcirc&quot;&gt;http://www.emmet.ca/~rcyeske/rcirc&lt;/a&gt; .
&lt;/li&gt;
&lt;li&gt;erc-cmd-&amp;lt;TAB&amp;gt; to see the list of possible ERC commands. For example, erc-cmd-SV can be called with /sv
&lt;/li&gt;
&lt;li&gt;ERC: DCC GET works in all emacsen, DCC SEND works only in CVS Emacs- Don&#39;t worry, M-x erc-select doesn&#39;t unselect the current server.
&lt;/li&gt;
&lt;li&gt;#emacs is a great channel for asking Perl questions.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;Buffers&lt;/strong&gt;

&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;C-x ^ and C-x } change the size of a window, as does dragging the window border with the mouse.
&lt;/li&gt;
&lt;li&gt;Use buffer-menu or ibuffer when you need to kill lots of buffers.
&lt;/li&gt;
&lt;li&gt;Kill all buffers that match &quot;regexp&quot;: &lt;code&gt;(dolist (i (buffer-list) (when (string-match &quot;regexp&quot; (buffer-name i)) (kill-buffer i))))&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;To have Emacs correctly wrap even when you resize windows, update fill-column var in window-size-change-functions. This does not refill old text, though.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;Misc&lt;/strong&gt;

&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tweak your tab behavior by changing indent-tabs-mode and tab-width.
&lt;/li&gt;
&lt;li&gt;paren-mode to toggle parenthesis-checking in a buffer.
&lt;/li&gt;
&lt;li&gt;If you&#39;re having problems binding keys like M-TAB, make sure your window manager isn&#39;t using that key.
&lt;/li&gt;
&lt;li&gt;line-number-at-pos returns the current line number. what-line prints it out.
&lt;/li&gt;
&lt;li&gt;To find out where a line is relative to the start of the window, &lt;code&gt;(- (line-number-at-pos (point)) (line-number-at-pos (window-start)))&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;next-text-property-bounds is an XEmacs function that finds a range of contiguous text with a given text property. You can do it in Emacs by building something around next-single-property-change.
&lt;/li&gt;
&lt;li&gt;Alternative stylesheet for &lt;a href=&quot;http://emacswiki.org&quot;&gt;http://emacswiki.org&lt;/a&gt; - &lt;a href=&quot;http://purl.org/NET/wence/emacswiki.css&quot;&gt;http://purl.org/NET/wence/emacswiki.css&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;If you must run vim inside Emacs because you like Emacs&#39; input methods, try ansi-term.
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki/ColorTheme&quot;&gt;http://www.emacswiki.org/cgi-bin/wiki/&lt;/a&gt; has font suggestions.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;EmacsWiki&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki?action=browse;diff=1;id=SpeedBar&quot;&gt;SpeedBar&lt;/a&gt; has tips for dealing with strange window managers.&lt;/li&gt;&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110534904819952203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110534904819952203' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110534904819952203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110534904819952203'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050108.html' title='2005.01.08'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/11223575857406983731</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110511036437638157</id><published>2005-01-07T07:06:00.000-08:00</published><updated>2005-01-07T07:06:04.376-08:00</updated><title type='text'>2005.01.07</title><content type='html'>&lt;p&gt;
&lt;strong&gt;Code and Usage Tips&lt;/strong&gt;

&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tips for reading Gutenberg e-books: Make your font smaller or refill all the paragraphs. To refill paragraphs, record a keyboard macro that calls fill-paragraph and forward-paragraph.
&lt;/li&gt;
&lt;li&gt;Working on documents: antiword and catdoc help with Microsoft Word documents, but LaTeX is very good for collaboration, long documents, and clean output. emacs-LaTeX-RefTeX gives you a nice environment. See also latex-preview.
&lt;/li&gt;
&lt;li&gt;To encode strings for use in URLs, you can use url-hexify-string, w3m-url-encode-string, emacs-wiki-escape-url, or similar functions.
&lt;/li&gt;
&lt;li&gt;delicious-w3m-html fetches feeds for particular users and tags.
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki/ErcPageMe&quot;&gt;http://www.emacswiki.org/cgi-bin/wiki/&lt;/a&gt; - get a GNOME dialog box when someone talks to you on ERC.
&lt;/li&gt;
&lt;li&gt;You can use dict along with dict-gcide and other dictionaries to look up terms within Emacs.
&lt;/li&gt;
&lt;li&gt;Access the menus using your keyboard with F10, M-`, or M-x tmm-menubar .
&lt;/li&gt;
&lt;li&gt;Switching windows and buffers: C-x o, C-x b, windmove, cyclebuffer...
&lt;/li&gt;
&lt;li&gt;Need to find out when today - 25 days was? Borrow code from planner-calculate-date-from-day-offset.
&lt;/li&gt;
&lt;li&gt;erc-autoaway.el revision: &lt;a href=&quot;http://dev.gentoo.org/~jbms/erc-autoaway-revision.patch&quot;&gt;http://dev.gentoo.org/~jbms/erc-autoaway-revision.patch&lt;/a&gt; . Requires some changes to configuration interface, though.
&lt;/li&gt;
&lt;li&gt;To be able to call functions with M-x, make them interactive. &lt;code&gt;(defun myfunc () &quot;bla&quot; (interactive) ...)&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;erc-bbdb can track people based on their finger hosts.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;Issues&lt;/strong&gt;

&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;comment-dwim appears to be missing from XEmacs.
&lt;/li&gt;
&lt;li&gt;How do you turn on global-font-lock-mode for both GNU Emacs and XEmacs? XEmacs doesn&#39;t have the global-font-lock-mode variable. Answer: Just font-lock-mode might work.
&lt;/li&gt;
&lt;li&gt;Reverting buffers to erc-mode after an accidental mode change appears to be currently impossible.
&lt;/li&gt;
&lt;li&gt;XEmacs doesn&#39;t have extended character class support, and GNU Emacs 21.3 and CVS differ in their support.
&lt;/li&gt;
&lt;li&gt;planner-diary-update-section needs to be run from pages that
  are open in a buffer and are recognized as planner pages.
&lt;/li&gt;
&lt;li&gt;unicode cjk characters are not supported by released GNU Emacs yet. Try the Unicode branch or &lt;code&gt;(utf-translate-cjk-mode 1)&lt;/code&gt; in CVS Emacs.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;strong&gt;Misc&lt;/strong&gt;

&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;sxemacs is a new fork of XEmacs for things the XEmacs review board won&#39;t accept. It&#39;s looking into using Xft fonts instead of core fonts and ditching Windows support because the developers don&#39;t use Windows.
&lt;/li&gt;
&lt;li&gt;The Diary/PlannerMode/Emacs combination is addictive.
&lt;/li&gt;
&lt;li&gt;The darcs repository for ljupdate is more up-to-date than the
  CVS repository. It&#39;s a clean rewrite with a different design.
&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110511036437638157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110511036437638157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110511036437638157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110511036437638157'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050107.html' title='2005.01.07'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-10002230.post-110506719558567012</id><published>2005-01-06T19:02:00.000-08:00</published><updated>2005-01-12T06:07:56.956-08:00</updated><title type='text'>2005.01.05, 2005.01.06</title><content type='html'>&lt;p&gt;Here are interesting tidbits from irc://irc.freenode.net/#emacs for 2004.01.05 to 2004.01.06.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Code&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;M-x column-number-mode&lt;/code&gt; makes Emacs show column numbers.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;emms-locate&lt;/code&gt; is a useful way to play selected media files.&lt;/li&gt;
&lt;li&gt;Powerful buffer switching: With either iswitchb or ido, &lt;kbd&gt;C-x b C-s&lt;/kbd&gt;. ido seems to be better than iswitchb for multitty Emacs, and comes with CVS GNU Emacs. iswitchb is in GNU Emacs and the edit-utils package for XEmacs. If you want to stick with iswitchb fulltime, add &lt;code&gt;(iswitchb-default-keybindings)&lt;/code&gt; to your init.el.&lt;/li&gt;
&lt;li&gt;ess (emacs spreadsheet): &lt;code&gt;set-variable set-goal-column nil&lt;/code&gt; for neater navigation&lt;/li&gt;
&lt;li&gt;emms: &lt;code&gt;(define-key dired-mode-map [.] &#39;emms-play-dired)&lt;/code&gt; after dired is already loaded&lt;/li&gt;
&lt;li&gt;Editing XML: Many people recommend nxml (GNU Emacs only). xsl-mode is also useful even for other XML files. xsl-mode indentation is better than xml-mode, too. xsl-mode is in the xslide package, and in the cygwin sumo package.&lt;/li&gt;
&lt;li&gt;If you want Python files recognized, install python-mode and &lt;code&gt;(add-to-list &#39;auto-mode-alist (cons &quot;\\.py\\&#39;&quot; &#39;python-mode))&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Gnus: You can use B DEL to delete drafts.&lt;/li&gt;
&lt;li&gt;Recursion in lambdas! &lt;code&gt;(funcall #1=(lambda (n) (if (= n 0) 1 (* n (funcall #1# (1- n))))) 5)&lt;/code&gt; - result: 120. Not recommended.&lt;/li&gt;
&lt;li&gt;Use M-x goto-line to go to the nth line.&lt;/li&gt;
&lt;li&gt;To copy the font setting and color-theme of the old frame when you create a new frame: &lt;code&gt;(defadvice make-frame (around frob-frame-parameters activate) (let ((default-frame-alist (frame-parameters))) ad-do-it))&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;How to get rid of all the ^Ms at the end of lines: &lt;code&gt;M-% C-q C-m RET C-q RET RET&lt;/code&gt; . (Better solution: &lt;code&gt;M-x revert-buffer-with-coding-system&lt;/code&gt;, dos.)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;desktop&lt;/code&gt; can make Emacs jump to the previous position in a file when you reopen the file&lt;/li&gt;
&lt;li&gt;Setting auto-fill in file comments: &lt;code&gt;-*- mode: major; mode: auto-fill -*-&lt;/code&gt;, where major is the major mode you want. Note: This is Evil. Don&#39;t do it. auto-fill is a matter of personal preference.&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issues&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;ul&gt;
&lt;li&gt;ess toolbar variables (customization) need to be set before ess is loaded, but ess is loaded in site-start. How do you set it, then?
&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Misc&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;ul&gt;
&lt;li&gt;ljupdate darcs repository: &lt;a href=&quot;http://edward.oconnor.cx/code/ljupdate/&quot;&gt;http://edward.oconnor.cx/code/ljupdate/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;ERC seems to be the most popular IRC client.&lt;/li&gt;
&lt;li&gt;Have you checked out the Emacs LiveJournal community? &lt;a href=&quot;http://www.livejournal.com/community/emacs/&quot;&gt;http://www.livejournal.com/community/emacs/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Don&#39;t worry about losing local changes when you modify the source code of CVS Emacs. CVS does patches.&lt;/li&gt;
&lt;li&gt;Emacs under screen: &lt;kbd&gt;C-\&lt;/kbd&gt; might be a good Screen escape key.&lt;/li&gt;
&lt;li&gt;People use normal synchronization tools like rsync, unison, and CVS to sync their planner.el pages between computers.&lt;/li&gt;
&lt;li&gt;Hook variables named -hook tend to not take arguments, while hook variables named -functions might be called with arguments.&lt;/li&gt;
&lt;li&gt;Debian: /etc/emacs/site-start.d and /usr/share/emacs/site-lisp/debian-startup.el are responsible for lines like &quot;Loading 00debian-vars (source)...&quot;, while /usr/lib/emacsen-common/emacs-package-install is called when the deb is being set up.
&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;
</content><link rel='replies' type='application/atom+xml' href='http://emacstidbits.blogspot.com/feeds/110506719558567012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=10002230&amp;postID=110506719558567012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110506719558567012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/10002230/posts/default/110506719558567012'/><link rel='alternate' type='text/html' href='http://emacstidbits.blogspot.com/2005/01/20050105-20050106.html' title='2005.01.05, 2005.01.06'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry></feed>