unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12943: 24.2.50; switch to help buffer with > 3-window-split
@ 2012-11-20 12:42 Vitalie Spinu
  2012-11-20 14:19 ` martin rudalics
  0 siblings, 1 reply; 6+ messages in thread
From: Vitalie Spinu @ 2012-11-20 12:42 UTC (permalink / raw)
  To: 12943


Hi, 

If I have only one window in a frame. C-h v ... RET opens a help buffer, 
but does not switch to it.  Same with 2 windows in a frame.

If I have a 3-window-split, C-h v ... RET pops to the help buffer. This
is a bit annoying and might be indicative of some more severe underlying
problem.

I hope this is not an intended behavior.

Thanks.


In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.13)
 of 2012-11-15 on vitoshka-home
Windowing system distributor `The X.Org Foundation', version 11.0.11300000
System Description:	Ubuntu 12.10

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode)  S)))
  jabber-activity-mode: t
  sr-popviewer-mode: t
  TeX-PDF-mode: t
  gnus-topic-mode: t
  gnus-undo-mode: t
  global-auto-complete-mode: t
  diff-auto-refine-mode: t
  helm-match-plugin-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  show-paren-mode: t
  savehist-mode: t
  display-time-mode: t
  ido-everywhere: t
  global-auto-revert-mode: t
  global-subword-mode: t
  subword-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down-mouse-5> <mouse-5> <double-down-mouse-5> <double-mouse-5> 
<triple-down-mouse-5> <triple-mouse-5> <down-mouse-4> 
<mouse-4> <down-mouse-4> <mouse-4> <down-mouse-4> <mouse-4> 
<down-mouse-4> <mouse-4> q C-p C-p C-p C-p C-p C-p 
M-f M-f M-f n M-f M-f C-f ( M-f M-f M-f ) M-f M-f M-f 
M-b M-d t a h t M-f M-f M-b M-b M-b M-d t h a t M-f 
M-f M-b M-b C-M-n C-M-n C-M-n <return> <return> V i 
t a l i e C-M-p C-p C-p C-p C-p C-p C-e <backspace> 
: C-a C-M-p C-p C-e M-b M-b M-d t h e M-f M-f M-f M-b 
C-k s o l v e s SPC t h e SPC p r o b l e m : C-c C-c 
c y C-p C-p C-n M-g C-p C-p l C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n <return> <return> 
C-s b l i n k C-g C-g C-s p r o m C-g C-g M-> C-p <return> 
q c y <return> <return> C-s p r o m p C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n <return> 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-M-n M-> C-p C-p 
C-p <return> C-n <return> C-n M-< c y g C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n M-g <return> C-x C-g 
C-h v <return> C-h v b i <return> C-x 3 C-h v <return> 
q C-o q M-x e m a c C-SPC b u g <return>

Recent messages:
Auto-saving...done
Mark set [2 times]
Mark all unread articles as read? (y or n)  y
Checking new news...
nnimap read 0k from imap.gmail.com
nnimap read 15k from imap.gmail.com
Reading active file via nndraft...done
Checking new news...done
Type C-x 1 to delete the help window.
 [2 times]

Load-path shadows:
/home/vitoshka/Dropbox/ELPA/magit-20121030.2025/.dir-locals hides /home/vitoshka/Dropbox/ELPA/sunrise-commander-20121108.2128/.dir-locals
/home/vitoshka/Dropbox/ELPA/magit-20121030.2025/.dir-locals hides ~/VC/gnus/.dir-locals
~/VC/gnus/lisp/lpath hides ~/VC/auctex/lpath
/home/vitoshka/Dropbox/ELPA/popup-20121020.1203/popup hides ~/VC/popup-el/popup
~/VC/org-mode/lisp/org-remember hides /usr/local/share/emacs/24.2.50/lisp/org/org-remember
~/VC/org-mode/lisp/org-protocol hides /usr/local/share/emacs/24.2.50/lisp/org/org-protocol
~/VC/org-mode/lisp/ob-dot hides /usr/local/share/emacs/24.2.50/lisp/org/ob-dot
~/VC/gnus/lisp/nnweb hides /usr/local/share/emacs/24.2.50/lisp/gnus/nnweb
~/VC/gnus/lisp/yenc hides /usr/local/share/emacs/24.2.50/lisp/gnus/yenc
~/VC/gnus/lisp/gnus-srvr hides /usr/local/share/emacs/24.2.50/lisp/gnus/gnus-srvr
/home/vitoshka/Dropbox/ELPA/rebox2-20121113.2100/rebox2 hides /home/vitoshka/Dropbox/.emacs.d/site-lisp/rebox2/rebox2

Features:
(shadow emacsbug two-column iso-transl filecache ange-ftp tramp-ftp
bookmark+-key bookmark+-lit bookmark+-1 bookmark+-bmu bookmark+-mac
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet helm-elisp helm-eval cus-edit w3m-hist
w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc
w3m-rss w3m-util autoload tar-mode url-http url-gw url-auth magithub crm
json magit-bisect magit-key-mode magit gnus-html url-cache mm-url
gnus-draft goto-addr jabber-keepalive jabber-bookmarks jabber-private
jabber jabber-awesome jabber-osd jabber-wmii jabber-xmessage
jabber-festival jabber-sawfish jabber-ratpoison jabber-screen
jabber-socks5 jabber-ft-server jabber-si-server jabber-ft-client
jabber-ft-common jabber-si-client jabber-si-common jabber-feature-neg
jabber-truncate jabber-time jabber-autoaway jabber-vcard-avatars
jabber-chatstates jabber-events jabber-vcard jabber-avatar
jabber-activity jabber-watch jabber-modeline jabber-ahc-presence
jabber-ahc jabber-version jabber-ourversion jabber-muc-nick-completion
hippie-exp jabber-browse jabber-search jabber-register jabber-roster
jabber-presence jabber-muc jabber-newdisco jabber-widget jabber-disco
jabber-chat ewoc jabber-history jabber-chatbuffer jabber-alert jabber-iq
jabber-keymap jabber-core jabber-sasl sasl sasl-anonymous sasl-login
sasl-plain fsm jabber-logon jabber-conn srv dns jabber-xml jabber-menu
jabber-util helm-mode sunrise-x-popviewer sunrise-x-checkpoints bookmark
sunrise-x-modeline sunrise-x-loop sunrise-x-tree sunrise-commander term
ehelp electric hl-line find-dired esh-var esh-io esh-cmd esh-opt esh-ext
esh-proc esh-arg esh-groups eshell esh-util esh-module esh-mode enriched
desktop nnfolder helm-sys flow-fill help-mode debug helm-imenu org-wl
org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs
org-html org-info org-gnus org-docview org-bibtex bibtex org-bbdb
skeleton texmathp reftex-auc preview prv-emacs tex-buf reftex-dcr zotelo
font-latex latex tex-style tex dbus latexenc misearch multi-isearch
dabbrev mule-util vc-git bbdb-message sendmail flymake flyspell ispell
url-handlers qp sort smiley gnus-cite shr-color color shr mm-archive
mail-extr gnus-async gnus-bcklg gnus-ml disp-table gnus-topic utf-7
nndraft nnmh nnimap parse-time utf7 gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-cache bbdb-gnus gnus-art mm-uu
mml2015 epg-config mm-view mml-smime smime dig bbdb-mua bbdb-com netrc
network-stream starttls tls gnus-notify gnus-demon nntp bbdb timezone
supercite regi nnir gnus-sum gnus-group gnus-undo nnmail mail-source
nnoo gnus-start gnus-spec gnus-int gnus-range message rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus-load gnus
gnus-ems gnus-compat nnheader mail-utils rainbow-delimiters helm-misc
helm-files image-dired dired-x dired-aux ffap helm-tags helm-bookmark
helm-adaptative helm-info helm-net xml url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
url-parse url-vars mailcap helm-plugin helm-locate helm-help
helm-external helm-buffers helm-grep helm-regexp grep helm-elscreen
helm-utils smex ob-latex ob-R appt diary-lib diary-loaddefs org-clock
org-exp ob-exp org-agenda org ob-tangle ob-ref ob-lob ob-table
org-footnote org-src ob-comint ob-keys org-pcomplete org-list org-faces
org-entities noutline outline org-version ob-emacs-lisp ob org-compat
org-macs ob-eval org-loaddefs find-func cal-menu calendar cal-loaddefs
iimage pos-tip ac-octave octave-inf octave-mod ac-math
auto-complete-config auto-complete popup saveplace doc-view jka-compr
image-mode reftex reftex-vars reftex-cite preview-latex tex-site
auto-loads info-look psvn log-edit pcvs-util add-log diff-mode elp
ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init
ediff-util dired xquery-mode generic rng-nxml rng-valid rng-loc rng-uri
rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok
smart-operator rx rebox2 warnings slime-media slime-presentations
slime-scratch slime-asdf slime-repl slime derived pp hyperspec menu-bar+
helm-descbinds helm-match-plugin helm helm-config mic-paren eldoc-eval
adaptive-wrap-autoloads bbdb-autoloads bm-autoloads bookmark+-autoloads
eldoc-eval-autoloads esk-autoloads fuzzy-match-autoloads
git-blame-autoloads helm-autoloads helm-descbinds-autoloads
htmlize-autoloads igrep-autoloads jabber-autoloads js2-mode-autoloads
lacarte-autoloads magit-gh-pulls-autoloads gh-autoloads logito-autoloads
magit-push-remote-autoloads magithub-autoloads magit-autoloads
markdown-mode+-autoloads markdown-mode-autoloads memory-usage-autoloads
mic-paren-autoloads minimap-autoloads oauth2-autoloads pcache-autoloads
finder-inf popup-autoloads rainbow-delimiters-autoloads
rainbow-mode-autoloads rebox2-autoloads smex-autoloads stem-autoloads
sunrise-commander-autoloads synonyms-autoloads w3m-autoloads
zotelo-autoloads package tramp tramp-compat auth-source eieio byte-opt
bytecomp byte-compile cconv assoc gnus-util mm-util mail-prsvr
password-cache tramp-loaddefs format-spec ess-toolbar ess-mouse mouseme
thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode
ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete
ess-arc-d ess-vst-d ess-xls-d ess-lsp-l ess-sta-d ess-sta-l cc-vars
cc-defs make-regexp ess-sp6-d ess-sp5-d ess-sp3-d ess-julia ess-r-d
ess-tracebug compile ess-roxy easy-mmode hideshow ess-help info reporter
ess-developer ess-r-args eldoc ess-s-l speedbar sb-image ezimage dframe
ess ess-inf comint ansi-color ring ess-mode ess-noweb-mode edmacro
kmacro ess-utils ess-custom ess-compat ess-site ibuf-ext ibuffer recentf
tree-widget wid-edit easymenu uniquify paren savehist time cus-start
cus-load solarized-dark-theme solarized imenu-anywhere cl-macs gv imenu
iflipb ido sh-script smie executable advice help-fns advice-preload
autorevert subword server cl cl-lib time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12943: 24.2.50; switch to help buffer with > 3-window-split
  2012-11-20 12:42 bug#12943: 24.2.50; switch to help buffer with > 3-window-split Vitalie Spinu
@ 2012-11-20 14:19 ` martin rudalics
  2012-11-20 14:37   ` Vitalie Spinu
  0 siblings, 1 reply; 6+ messages in thread
From: martin rudalics @ 2012-11-20 14:19 UTC (permalink / raw)
  To: Vitalie Spinu; +Cc: 12943

> If I have only one window in a frame. C-h v ... RET opens a help buffer, 
> but does not switch to it.  Same with 2 windows in a frame.
> 
> If I have a 3-window-split, C-h v ... RET pops to the help buffer. This
> is a bit annoying and might be indicative of some more severe underlying
> problem.
> 
> I hope this is not an intended behavior.

See bug#11039.

martin





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12943: 24.2.50; switch to help buffer with > 3-window-split
  2012-11-20 14:19 ` martin rudalics
@ 2012-11-20 14:37   ` Vitalie Spinu
  2012-11-20 17:08     ` martin rudalics
  2014-12-25 10:54     ` martin rudalics
  0 siblings, 2 replies; 6+ messages in thread
From: Vitalie Spinu @ 2012-11-20 14:37 UTC (permalink / raw)
  To: martin rudalics; +Cc: 12943

  >> martin rudalics <rudalics@gmx.at>
  >> on Tue, 20 Nov 2012 15:19:56 +0100 wrote:

  >> If I have only one window in a frame. C-h v ... RET opens a help buffer, but
  >> does not switch to it.  Same with 2 windows in a frame.
  >> 
  >> If I have a 3-window-split, C-h v ... RET pops to the help buffer. This
  >> is a bit annoying and might be indicative of some more severe underlying
  >> problem.
  >> 
  >> I hope this is not an intended behavior.

  > See bug#11039.

Hm, the default 'other of help-window-select is inconsistent and aims a
very specific user pattern.

   From http://debbugs.gnu.org/db/11/11039.html:

   martin rudalics <rudalics <at> gmx.at> writes:
   
   > When the help window is one out of three windows on a frame and you do
   > _not_ select it, it's quite difficult to restore the state of the frame
   > before showing help.  You would have to (1) manually switch to the help
   > window, (2) type "q" in it, and maybe (3) switch back to the previously
   > selected window.  If, however, you _do_ select the help window, you can
   > simply type "q" in it and get back the old state of affairs.
   

I might want to keep the help window open for long and keep working on
my code while referencing the help. This is my 99% usage pattern.

Now, when I open the help buffer I have to switch back to my working
window all the way back through 3 other windows. Awful.


    Vitalie





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12943: 24.2.50; switch to help buffer with > 3-window-split
  2012-11-20 14:37   ` Vitalie Spinu
@ 2012-11-20 17:08     ` martin rudalics
  2012-11-20 20:52       ` Dmitry Gutov
  2014-12-25 10:54     ` martin rudalics
  1 sibling, 1 reply; 6+ messages in thread
From: martin rudalics @ 2012-11-20 17:08 UTC (permalink / raw)
  To: Vitalie Spinu; +Cc: 12943

 > Hm, the default 'other of help-window-select is inconsistent and aims a
 > very specific user pattern.

The idea behind the default is:

(1) If the help window is the only other window on the frame, you can
     type C-x o q to restore the state before invoking help.

(2) If the help buffer is shown in a third or fourth window, there's no
     obvious key sequence to do that.  If, however, the help window gets
     selected, typing "q" will do.

 > I might want to keep the help window open for long and keep working on
 > my code while referencing the help. This is my 99% usage pattern.

In this case setting `help-window-select' to nil should do what you
want.

 > Now, when I open the help buffer I have to switch back to my working
 > window all the way back through 3 other windows. Awful.

If and when we get the C-x 4 prefix working, we can simplify things by
setting C-x 4 q to quit the last window that can be quit.  Till then,
customizing `help-window-select' should be an acceptable solution.

martin





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12943: 24.2.50; switch to help buffer with > 3-window-split
  2012-11-20 17:08     ` martin rudalics
@ 2012-11-20 20:52       ` Dmitry Gutov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Gutov @ 2012-11-20 20:52 UTC (permalink / raw)
  To: martin rudalics; +Cc: 12943, Vitalie Spinu

martin rudalics <rudalics@gmx.at> writes:

>> Hm, the default 'other of help-window-select is inconsistent and aims a
>> very specific user pattern.
>
> The idea behind the default is:
>
> (1) If the help window is the only other window on the frame, you can
>     type C-x o q to restore the state before invoking help.
>
> (2) If the help buffer is shown in a third or fourth window, there's no
>     obvious key sequence to do that.  If, however, the help window gets
>     selected, typing "q" will do.

FWIW, I strongly prefer the behavior of help-window-select set to t, and
I agree with Vitaly (and Chong, apparently) that the default behavior of
'other seems the least natural.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12943: 24.2.50; switch to help buffer with > 3-window-split
  2012-11-20 14:37   ` Vitalie Spinu
  2012-11-20 17:08     ` martin rudalics
@ 2014-12-25 10:54     ` martin rudalics
  1 sibling, 0 replies; 6+ messages in thread
From: martin rudalics @ 2014-12-25 10:54 UTC (permalink / raw)
  To: Vitalie Spinu; +Cc: 12943-done

 >    >> If I have only one window in a frame. C-h v ... RET opens a help buffer, but
 >    >> does not switch to it.  Same with 2 windows in a frame.
 >    >>
 >    >> If I have a 3-window-split, C-h v ... RET pops to the help buffer. This
 >    >> is a bit annoying and might be indicative of some more severe underlying
 >    >> problem.
 >    >>
 >    >> I hope this is not an intended behavior.
 >
 >    > See bug#11039.
 >
 > Hm, the default 'other of help-window-select is inconsistent and aims a
 > very specific user pattern.
 >
 >     From http://debbugs.gnu.org/db/11/11039.html:
 >
 >     martin rudalics <rudalics <at> gmx.at> writes:
 >
 >     > When the help window is one out of three windows on a frame and you do
 >     > _not_ select it, it's quite difficult to restore the state of the frame
 >     > before showing help.  You would have to (1) manually switch to the help
 >     > window, (2) type "q" in it, and maybe (3) switch back to the previously
 >     > selected window.  If, however, you _do_ select the help window, you can
 >     > simply type "q" in it and get back the old state of affairs.
 >
 >
 > I might want to keep the help window open for long and keep working on
 > my code while referencing the help. This is my 99% usage pattern.
 >
 > Now, when I open the help buffer I have to switch back to my working
 > window all the way back through 3 other windows. Awful.

The default value of `help-window-select' is now nil on master/trunk.
Closing this bug.

Thanks, martin





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-25 10:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20 12:42 bug#12943: 24.2.50; switch to help buffer with > 3-window-split Vitalie Spinu
2012-11-20 14:19 ` martin rudalics
2012-11-20 14:37   ` Vitalie Spinu
2012-11-20 17:08     ` martin rudalics
2012-11-20 20:52       ` Dmitry Gutov
2014-12-25 10:54     ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).