F. Reiner | 1 Jan 2004 14:09
Picon

LaTeX: color for custom macros

Hi,

when writing LaTeX, emacs recognizes a number of built-in
LaTeX commands and colors parts of the text accordingly.

How can I tell it, e.g., to display \fn{whatever} in the
same color as \footnote{whatever}?

TIA,

Albert.

--
Handbuch zur Administration: <http://purl.oclc.org/NET/admin-hb/>.
Work in (slow) progress.
Tim McNamara | 1 Jan 2004 22:17

CVS build can't find manual

Building Emacs from CVS (21.3.50.1) on Mac OS X 10.3.2 using Apple's
version of gcc-3.3 (./configure --with-x --without-carbon) results in
an apparently functional application.  However, it can't locate the
manuals.  The return is "info file emacs does not exist."  This was
also the case when I built 21.3.50.1 on OS 10.1.5 and Apple's
gcc-2.95.2 for X11.

Emacs is installed into /usr/local/bin/.  The info files appear to be
in /usr/local/info/, which is perhaps not where Emacs expects them?  I
can of course correct this in my .emacs so that Emacs looks in
/usr/local/info/ but I am curiou sas to why this might have happened
in the firstplace.  Was there something I should have done in
configuring the build that would have prevented this?
Don Saklad | 2 Jan 2004 05:55
Picon
Gravatar

rmail in emacs

1. What does the q represent mnemonically?... in setq

2. Would any of you nice folks out there knowledgeable about rmail in emacs
   have any ideas, hints, tips or pointers about modifying for the better
   any of the lines of this program?...

;; sa-spam-removal.el
;;
;; Copyright (c) 2003 Trevis J. Rothwell tjr at gnu.org
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

;; Before deleting a spam, this program copies it
;; to the file specified by `rmail-spam-file'.
(setq rmail-spam-file "RMAIL-SPAM")

(defun sa-spam-removal ()
  (interactive)
(Continue reading)

Eli Zaretskii | 2 Jan 2004 10:19
Picon

Re: rmail in emacs

> Newsgroups: gnu.emacs.help
> From: Don Saklad <dsaklad <at> gnu.org>
> Date: Fri, 02 Jan 2004 04:55:13 GMT
> 
> 1. What does the q represent mnemonically?... in setq

It represents ``quote'', I think.
Bastien | 2 Jan 2004 13:18
Face
Picon

Re: Ange-ftp & symlinks

Michael Albinus hat geschrieben:

>> i've a problem using ange-ftp and visiting files throught symbolic
>> links.
>>
>> Any idea ?
>
> IIRC, this is fixed in the Emacs CVS already.

Yes... seen it of few days ago, when i upgraded to GNU Emacs
CVS. Tramp is really great.

Thanks !

--

-- 
Bastien
Edward Wijaya | 2 Jan 2004 23:28
Picon
Picon

Re: Killing Buffers

Courtesy of Jose Ruiz.

------- Forwarded message -------
From: "Jose A. Ortega Ruiz" <jao <at> gnu.org>
To: Edward Wijaya <ewijaya <at> singnet.com.sg>
Subject: Re: Killing Buffers
Date: Fri, 02 Jan 2004 14:04:55 +0100

> Edward Wijaya <ewijaya <at> singnet.com.sg> writes:
>
>> Hi,
>>
>> I am looking for a key that:
>> 1. Kill all the existing buffer without having have to close Emacs
>
> hi, i've got this code in my .emacs:
>
> ;;; kill all buffers
> (defun my-blank-slate-emacs ()
>   "kill all buffers, leaving *scratch* only"
>   (interactive)
>   ;;close all frames but one, first
>   (mapcar (lambda (x) (delete-frame x))
>           (cdr (visible-frame-list)))
>   ;;then, kill all buffers
>   (mapcar (lambda (x) (kill-buffer x))
>           (buffer-list))
>   ;;make there be only one window holding buffer *scratch*
>   (delete-other-windows))
> (global-set-key "\C-x!" 'my-blank-slate-emacs)
(Continue reading)

sebyte | 2 Jan 2004 15:35

gnuchess & EmacsChess - chess.el

Hi all,

First of all my problem is with chess.el, not gnuchess.  Forgive me if this is 
off topic.  As you have probably surmised, I'm trying to run chess.el (v2.0b3) 
in conjunction with gnuchess (v5.0.4) within Emacs 21.2.1 on MacOS 10.3.2.  The 
instructions provided as comments at the top of chess.el state the following:

;; This program will not play chess against you; it is not a chess 

;; computer.  It can use a chess computer, however, to simulate your 

;; opponent's moves.  This is decided when you choose your opponent. 

;; You must, of course, have that chess computer installed.  See the 

;; top of chess-player.el for more information. 

;; 

;; To just get a chessboard up, put the following in your .emacs file: 

;; 

;;   (add-to-list 'load-list "<the path to Emacs Chess>") 

;; 

;;   (autoload 'chess "chess" "Play a game of chess" t) 

;; 
(Continue reading)

FCC | 2 Jan 2004 12:56
Picon

gnuplot mode problem

Hello all,

I have installed the gnuplot mode using apt-get install gnuplot-mode on my
Debian 2.4.23-xfs-acpi kernel to use with Emacs-21.

Then I tried to use it but I could not. The first problem was that when I
visit any *.gp file I get the following eror in Emacs-21:
----
Loading gnuplot...done
gnuplot-mode 0.6.0 -- determining gnuplot version ......
File mode specification error: (file-error "Searching for program" "success"
"")
Fontifying Doming.gp... (regexps............)
File mode specification error: (file-error "Searching for program" "success"
"")
----
I get the same ``File mode specification error'' when I use C-c C-b, which
tries to send the current buffer to gnuplot.

First, I googled the web for the first problem, but I could not get any
useful hits. 

The second problem was that the the completions for keywords did not work. I
found out that this was related to the info file not being installed. To
solve this problem, I tried to read the website of gnuplot mode (http:/
feff.phys.washington.edu/~ravel/software/gnuplot-mode/) carefully. Finally
I managed to put the gnuplot.info file in to /usr/info/emacs-21/ as
gnuplot.gz and then edited the file /usr/info/dir to include the menu entry
for gnuplot. Finally I got the info working properly (I tried to official
way of using install-info, but I got the error: 
(Continue reading)

gebser | 2 Jan 2004 15:53
Favicon

Re: "variable [in .emacs] is void"

At 10:39 (UTC-0700) on Tue, 23 Dec 2003 Kevin Rodgers said:

= gebser <at> speakeasy.net wrote:
= 
= > ...
= > 
= > ;fourth try, guessing syntax for five args: all Messaging on. 
= > (eval-after-load "sendmail"
= >    '(load "~/privhooks" nil nil nil t))
= 
= 
= It would be a lot easier to add your home directory to load-path, and then
= call (load-library "privhooks").

Understood.  But at some time in future I could (unthinkingly) throw a 
.el file into $HOME and probably get undesirable results.  Ultimately 
I'm going to move privhooks.el out of $HOME, probably to some site-lisp 
that's already in load-path.  

= > 
= > ;fifth try, guessing syntax again.  Works!
= > (eval-after-load "sendmail"
= >    (load "~/privhooks" nil nil nil t))
= > 
= > Note the lack of a quote beginning the second line.  
= 
= 
= That does not do what you want it to.  You want your privhooks.el[c]
= file to be automatically loaded after the sendmail library is loaded.
= But by removing the quote, the form is evaluated immediately (i.e. when
(Continue reading)

Alfred M. Szmidt | 2 Jan 2004 13:34
Picon

Re: rmail in emacs

   2. Would any of you nice folks out there knowledgeable about rmail
      in emacs have any ideas, hints, tips or pointers about modifying
      for the better any of the lines of this program?...

Improve it in what fashion?  I assume that it works...

Cheers

Gmane