all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: jixiuf <jixiuf@gmail.com>
Cc: 13044@debbugs.gnu.org
Subject: bug#13044: 24.2; mark-whole-buffer seems doesn't work with these code in my .emacs
Date: Sat, 25 Mar 2017 01:09:23 -0400	[thread overview]
Message-ID: <87lgru0wos.fsf@users.sourceforge.net> (raw)
In-Reply-To: <20121201.094719.247640930087810864.jixiuf@gmail.com> (jixiuf@gmail.com's message of "Sat, 01 Dec 2012 09:47:19 +0800 (CST)")

found 13044 24.5
tags 13044 fixed
close 13044 25.2
quit

jixiuf <jixiuf@gmail.com> writes:

> 1 I run emacs with `emacs -Q`
> 2 paste these in *scratch* buffer
> ```
> (setq ibuffer-saved-filter-groups
>       '(("Default"
>          ("Dired"  (mode . dired-mode))
>          )))
> (add-hook 'ibuffer-mode-hook
>           (lambda ()
>             (ibuffer-auto-mode 1)       ;自动更新*Ibuffer* buffer
>             (ibuffer-switch-to-saved-filter-groups "Default")))
> (defun joseph-set-frame-title()
>   "show correct buffer name even in minibuffer"
>   (let* ((title "")
>          (size)
>          (win-buf  (if (minibufferp)(window-buffer (next-window ))  (current-buffer)))
>          (file-name (buffer-file-name win-buf))
>          )
>     (setq title (concat (buffer-name win-buf) "  "))
>     (setq size (cond
>                 ((> (buffer-size win-buf) 1000000) (format "%.1fM" (/ (buffer-size win-buf) 1000000.0)))
>                 ((> (buffer-size win-buf) 1000) (format "%.1fk" (/ (buffer-size win-buf) 1000.0)))
>                 (t (format "%d" (buffer-size win-buf)))))
>     (setq title (format "  %s[%s]   %s    GNU/Emacs" title size (or file-name "")))
>     title))
>
> (setq frame-title-format '( (:eval (joseph-set-frame-title))))
> (ibuffer)
> ```
> 3 eval-buffer
> 4 press `C-xh` call mark-whole-buffer ,I can see "Mark Set" in the echo area,
>  but the buffer is not selected .I need press another `C-xh` to select the
>  buffer.

I can reproduce with 24.3, 24.4, 24.5, but not with 25.2 (didn't check
with 25.1).





      reply	other threads:[~2017-03-25  5:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-01  1:47 bug#13044: 24.2; mark-whole-buffer seems doesn't work with these code in my .emacs jixiuf
2017-03-25  5:09 ` npostavs [this message]

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=87lgru0wos.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=13044@debbugs.gnu.org \
    --cc=jixiuf@gmail.com \
    /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.