From: Eli Zaretskii <eliz@gnu.org>
To: bruce.connor.am@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: desktop-buffer-info and set-buffer
Date: Sun, 01 Mar 2015 18:12:00 +0200 [thread overview]
Message-ID: <83mw3wsnn3.fsf@gnu.org> (raw)
In-Reply-To: <CAAdUY-J4WuL5vB+=81jHO14wF381XqwdMe07u80rqONWST7+xw@mail.gmail.com>
> Date: Sun, 1 Mar 2015 16:06:15 +0000
> From: Artur Malabarba <bruce.connor.am@gmail.com>
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> > Why waste cycles on restoring the buffer, when it will be immediately
> > changed to some other buffer?
>
> Because (by name and purpose) it looks like a function without side effects, so
> it's a little surprising that it has.
If this is the only issue, documenting it should be enough.
> I don't think this would make a noticeable difference in performance, but if
> it's necessary for performance reasons I'll just write something on a
> docstring.
I don't think it's performance-critical, either, but IMO doing
unnecessary things is unclean regardless.
In any case, this is a minor issue.
next prev parent reply other threads:[~2015-03-01 16:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 10:03 desktop-buffer-info and set-buffer Artur Malabarba
2015-03-01 13:33 ` Andreas Röhler
2015-03-01 15:32 ` Eli Zaretskii
2015-03-01 16:06 ` Artur Malabarba
2015-03-01 16:12 ` Eli Zaretskii [this message]
2015-03-02 6:35 ` Andreas Röhler
2015-03-02 13:23 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mw3wsnn3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bruce.connor.am@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.