help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing symbols whose values are symbols to macros?


From: Pascal J. Bourguignon
Subject: Re: Passing symbols whose values are symbols to macros?
Date: Thu, 09 Jul 2015 14:55:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Doug Lewan <dougl@shubertticketing.com> writes:

> I have a project with many subsystems. 
> I'd like to define a mode for the current subsystem of interest, 
> but not for all 200+ subsystems. 
> The mode(s) are based on compilation mode
> but add customizations for handling local log files.
>
> Doing this with macros seems like the obvious choice, 

Nope.  The obvious choice is to remember that GNU emacs  is 30 years
old, and therefore your problem has already occured to someone else, and
have been solved in a customizable way.

Therefore: M-x customize-variable RET compilation-error-regexp-alist RET


> Does anyone have any advice for how I might pass the value of a symbol (which 
> is a symbol)
> to a macro that expects a symbol like (defcustom)?

Use a time-machine.


-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]