I've been recently experimenting with having the tooltips for the buffer on the mode line show the full file path via:
;; try switching buffer name tooltip in the mode line to actually be the full buffer name
(setq-default mode-line-buffer-identification
(list (propertize
"%12b"
'face 'mode-line-buffer-id
'help-echo
'(format "%s\nmouse-1: Previous buffer\nmouse-3: Next buffer" (buffer-name))
'mouse-face 'mode-line-highlight
'local-map mode-line-buffer-identification-keymap)))
That works as expected for a single window or the windows are horizontally split:
But when the frame is split vertically it reverts back to the default behavior and the hint just says "buffer name"
Does anyone know what's going on and how to get the behavior I want?
emacs -Q
(no init file)? With Emacs 19.1 I see only Buffer name in all cases.