all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Small problem with "unmark" in *Buffer List*
Date: Wed, 30 Oct 2013 19:44:22 +0200	[thread overview]
Message-ID: <CA+Xtq3VndqtscPTVJTh+Zcv9GpdKNM+h7_-4CWt11E65B+ek-g@mail.gmail.com> (raw)
In-Reply-To: <13c9d7d0-7a2c-43f3-9ce6-0eb3a824c670@default>

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

As a 2-minute looking over the definition of buff-menu.el and over the
definition of `19.5 Operating on Several Buffers`, I think I need to check
whether the buffer was modified, and in case that it was, I insert '*' on
the 3rd column, otherwise insert space.

I remember this problem repeating for many years, but today it disturbed me
again , and this is why I mailed.

In fact, the patch of the function "Buffer-menu-unmark" will look something
like:

if "the 3rd column is S (from Save)" then
      (if (buffer-modified-p current-buffer-from-the-point)
has-modified-flag-on then
           insert "*" else
           insert " ".

This is the complete logic of the patch . Correct ?

[-- Attachment #2: Type: text/html, Size: 977 bytes --]

  reply	other threads:[~2013-10-30 17:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30  6:55 Small problem with "unmark" in *Buffer List* Alin Soare
2013-10-30 12:28 ` Stefan Monnier
2013-10-30 12:32   ` Alin Soare
2013-10-30 17:25     ` Stefan Monnier
2013-10-30 17:33       ` Drew Adams
2013-10-30 17:44         ` Alin Soare [this message]
2013-10-30 18:04           ` Drew Adams
2013-10-30 18:18             ` Alp Aker
2013-10-30 18:29 ` bug#15761: Fwd: " Alp Aker
2013-10-30 18:38   ` Alp Aker

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=CA+Xtq3VndqtscPTVJTh+Zcv9GpdKNM+h7_-4CWt11E65B+ek-g@mail.gmail.com \
    --to=as1789@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.