[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is Elisp's defvar weird? And is eval_sub broken?
From: |
Stefan Monnier |
Subject: |
Re: Why is Elisp's defvar weird? And is eval_sub broken? |
Date: |
Thu, 19 Feb 2015 21:02:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> Your code is clearly meant to be inside desktop.el, so it's perfectly
>> normal to have to add various extra declarations to reproduce some
>> context before calling internal functions.
> Should I add the closed-buffer tracker to desktop.el?
I haven't looked at it and I don't use desktop.el (nor do I hack on it
very much), so I don't really know. But since you seem to think that
it's a feature that should be there, I suggest you submit it for
inclusion as a patch.
My comment was just meaning that it's normal to have to add such
declarations when you're meddling in the internals of a package. Even if
this meddling is bound to stay "external" either by its nature
(e.g. it's only useful to your very particular case) or for whichever
other reason.
Stefan
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, (continued)
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Kelly Dean, 2015/02/14
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Stefan Monnier, 2015/02/14
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Daniel Colascione, 2015/02/15
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Kelly Dean, 2015/02/16
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Stefan Monnier, 2015/02/16
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Kelly Dean, 2015/02/17
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Stefan Monnier, 2015/02/18
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Kelly Dean, 2015/02/19
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Stefan Monnier, 2015/02/19
- Re: Why is Elisp's defvar weird? And is eval_sub broken?, Kelly Dean, 2015/02/19
- Re: Why is Elisp's defvar weird? And is eval_sub broken?,
Stefan Monnier <=
- Proposal for a closed-buffer tracker, Kelly Dean, 2015/02/21
- Re: Proposal for a closed-buffer tracker, Eli Zaretskii, 2015/02/22
- Re: Proposal for a closed-buffer tracker, Stefan Monnier, 2015/02/22
- Re: Proposal for a closed-buffer tracker, Dmitry Gutov, 2015/02/22
- Re: Proposal for a closed-buffer tracker, Artur Malabarba, 2015/02/23
- Re: Proposal for a closed-buffer tracker, Eli Zaretskii, 2015/02/23
- Re: Proposal for a closed-buffer tracker, Stefan Monnier, 2015/02/22
- Re: Proposal for a closed-buffer tracker, Artur Malabarba, 2015/02/28