* bug#16445: Regression: ff-find-other-file doesn't update frame title
@ 2014-01-14 17:12 Barry OReilly
[not found] ` <handler.16445.B.138971956821423.ack@debbugs.gnu.org>
2014-01-16 1:41 ` bug#16445: Regression: ff-find-other-file doesn't update frame title Stefan Monnier
0 siblings, 2 replies; 6+ messages in thread
From: Barry OReilly @ 2014-01-14 17:12 UTC (permalink / raw)
To: 16445
[-- Attachment #1: Type: text/plain, Size: 489 bytes --]
I use ff-find-other-file to switch between .h and .cc C++ files, using
Emacs as an X11 window (Emacs frame). The title for the X11 window does not
update itself when I switch between the two buffers with this command. eg
if I'm in Foo.cc and the title shows Foo.cc, I do ff-find-other-file and
successfully switch to Foo.h, but the title says Foo.cc. If I use the
buffer-menu to go to Foo.h, the title updates fine.
I tested with emacs-24.3 and don't witness the problem.
I'm on RHEL 5.
[-- Attachment #2: Type: text/html, Size: 545 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#16445: Acknowledgement (Regression: ff-find-other-file doesn't update frame title)
[not found] ` <handler.16445.B.138971956821423.ack@debbugs.gnu.org>
@ 2014-01-14 18:21 ` Barry OReilly
0 siblings, 0 replies; 6+ messages in thread
From: Barry OReilly @ 2014-01-14 18:21 UTC (permalink / raw)
To: 16445
[-- Attachment #1: Type: text/plain, Size: 703 bytes --]
This depends on some customization of mine. Here's a -Q recipe using a
distillation of my init.
Let /tmp/title-redisplay.el have content:
(defun my-get-buffer-name ()
"Get the buffer name. "
(file-name-nondirectory (or (buffer-file-name)
(buffer-name)
default-directory)))
(setq-default frame-title-format '(:eval (my-get-buffer-name)))
(add-hook 'emacs-startup-hook 'delete-other-windows)
(global-set-key (kbd "<f4>") 'ff-find-other-file)
cd to the src directory of the Emacs source tree and:
./emacs -Q --load /tmp/title-redisplay.el character.h character.c
Then f4, and you'll see the frame title doesn't update.
[-- Attachment #2: Type: text/html, Size: 847 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#16445: Regression: ff-find-other-file doesn't update frame title
2014-01-14 17:12 bug#16445: Regression: ff-find-other-file doesn't update frame title Barry OReilly
[not found] ` <handler.16445.B.138971956821423.ack@debbugs.gnu.org>
@ 2014-01-16 1:41 ` Stefan Monnier
2014-01-16 3:38 ` Barry OReilly
1 sibling, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2014-01-16 1:41 UTC (permalink / raw)
To: Barry OReilly; +Cc: 16445
> I use ff-find-other-file to switch between .h and .cc C++ files, using
> Emacs as an X11 window (Emacs frame). The title for the X11 window does not
> update itself when I switch between the two buffers with this command. eg
> if I'm in Foo.cc and the title shows Foo.cc, I do ff-find-other-file and
> successfully switch to Foo.h, but the title says Foo.cc. If I use the
> buffer-menu to go to Foo.h, the title updates fine.
Can't reproduce it here. I tried
emacs -Q --eval "(global-set-key [?\C-o] 'ff-find-other-file)"
C-x 5 f src/buffer.c
and then in the frame that displays buffer.c I did
C-o
But the problem did not manifest itself.
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#16445: Regression: ff-find-other-file doesn't update frame title
2014-01-16 1:41 ` bug#16445: Regression: ff-find-other-file doesn't update frame title Stefan Monnier
@ 2014-01-16 3:38 ` Barry OReilly
2014-01-16 4:08 ` Stefan Monnier
0 siblings, 1 reply; 6+ messages in thread
From: Barry OReilly @ 2014-01-16 3:38 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 16445
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
> Can't reproduce it here. I tried
>
> emacs -Q --eval "(global-set-key [?\C-o] 'ff-find-other-file)"
> C-x 5 f src/buffer.c
>
> and then in the frame that displays buffer.c I did
>
> C-o
>
> But the problem did not manifest itself.
Did you see the more detailed recipe I provided shortly after the original
submission?
[-- Attachment #2: Type: text/html, Size: 476 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#16445: Regression: ff-find-other-file doesn't update frame title
2014-01-16 3:38 ` Barry OReilly
@ 2014-01-16 4:08 ` Stefan Monnier
2014-01-16 15:45 ` Barry OReilly
0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2014-01-16 4:08 UTC (permalink / raw)
To: Barry OReilly; +Cc: 16445
> Did you see the more detailed recipe I provided shortly after the original
> submission?
Sorry, I'd forgotten about it, but I just tried it and it doesn't
reproduce the problem for me either.
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#16445: Regression: ff-find-other-file doesn't update frame title
2014-01-16 4:08 ` Stefan Monnier
@ 2014-01-16 15:45 ` Barry OReilly
0 siblings, 0 replies; 6+ messages in thread
From: Barry OReilly @ 2014-01-16 15:45 UTC (permalink / raw)
Cc: 16445-done
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
I tried with the latest trunk version and couldn't reproduce it
either, so closing.
I have been using the commit before the one that introduced bug 16434,
which is a version this bug manifests in.
[-- Attachment #2: Type: text/html, Size: 244 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-01-16 15:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 17:12 bug#16445: Regression: ff-find-other-file doesn't update frame title Barry OReilly
[not found] ` <handler.16445.B.138971956821423.ack@debbugs.gnu.org>
2014-01-14 18:21 ` bug#16445: Acknowledgement (Regression: ff-find-other-file doesn't update frame title) Barry OReilly
2014-01-16 1:41 ` bug#16445: Regression: ff-find-other-file doesn't update frame title Stefan Monnier
2014-01-16 3:38 ` Barry OReilly
2014-01-16 4:08 ` Stefan Monnier
2014-01-16 15:45 ` Barry OReilly
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.