[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.
Stefan
- Condider adding buffer-mode, Bozhidar Batsov, 2013/10/24
- Re: Condider adding buffer-mode, Stefan Monnier, 2013/10/24
- Re: Condider adding buffer-mode, Bozhidar Batsov, 2013/10/29
- Re: Condider adding buffer-mode, Stefan Monnier, 2013/10/29
- Re: Condider adding buffer-mode, Bozhidar Batsov, 2013/10/29
- Re: Condider adding buffer-mode, Stefan Monnier, 2013/10/29
- Re: Condider adding buffer-mode, Bozhidar Batsov, 2013/10/30
- Re: Condider adding buffer-mode,
Stefan Monnier <=
- Re: Condider adding buffer-mode, Bozhidar Batsov, 2013/10/31