[Top][All Lists]

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

Re: Condider adding buffer-mode

From: Stefan Monnier
Subject: Re: Condider adding buffer-mode
Date: Wed, 30 Oct 2013 08:41:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> current buffer). While this is OK for interactive code, it seems pretty
> obnoxious when done in library code. We can very well have a version of
> `derived-mode-p' that operates on an explicit buffer argument as opposed to
> an implicit one.

But this applies to many other things.  IOW you're complaining about
Emacs's design.

> I know that Emacs Lisp places little value on functional programming
> principles, but I don't see the harm in embracing them at
> least occasionally.

Just adding something like buffer-mode is not going to help enough to
justify adding a function.  You're trying to work against the tool.


reply via email to

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