Questions tagged [help-mode]

17 questions
15
votes
1 answer

Select *Help* window buffer after C-h f

I do "C-h f" a lot for emacs lisp functions. I prefer to have the window displaying the Help buffer selected (right after C-h f) and then press "q" when im done to close the window. Is there a way to achive this?
Matthias
  • 745
  • 3
  • 14
11
votes
5 answers

How to enter view-only mode when browsing Emacs source code from help?

When I browse Emacs help for functions via C-h f, I often want to peek into the Elisp/C implementation. I want to enter view-mode automatically when I access source code this way to avoid unnecessary modification. Is there a hook or function I can…
rationalrevolt
  • 213
  • 1
  • 4
8
votes
2 answers

How to display a help buffer/window full frame size (not full screen)

I sometimes want to display information in Help buffer style, so I have been using code like this: (with-help-window (help-buffer) (princ "Type q to exit this help buffer.\n\n") (princ result)) This works fine, but the help window only uses…
Kevin
  • 1,308
  • 8
  • 20
8
votes
1 answer

How can I tell Emacs to always open help buffers in the current window?

When looking up documentation with describe-function, Emacs display the docstring in a temporary help buffer. I want this buffer to replace current window. So far, I've customized help-window-select but it only affect the focus.
Mathieu Marques
  • 1,953
  • 1
  • 13
  • 30
7
votes
3 answers

lazy find/search for commands within emacs

Is there a way to do a lazy find/search within EMACS, for commands using their description? Something in the lines of: Say I am looking for how to add indent to org mode I suspect there is a commands for it I would like to type "org" and "indent"…
Pandian Le
  • 260
  • 3
  • 13
6
votes
3 answers

How do I search Info for help on a given keyword or function?

Occasionally looking up a function with C-h f will cross reference to an Info node in the manual, but that is pretty rare. I often want a way to jump from the help documentation on a given function to the corresponding documentation referencing it…
dgtized
  • 4,169
  • 20
  • 41
5
votes
2 answers

How do I open a window that will behave like a *Help* window?

*Help* windows appear to have a special behavior. For example, if I open a help window using C-h f butterfly, the window will open in a separate half-page buffer. If I use the help feature again C-h f tetris, the same help-mode buffer will be reused…
Flux
  • 583
  • 2
  • 16
4
votes
1 answer

How can I link to Emacs *Help* from Org mode?

I am writing documentation for some emacs-lisp code. The code has docstrings, but I am writing a manual using org-mode. It would be cool if I could embed links to the code within this manual. Click on the link, and it brings up the Enacs Help…
4
votes
1 answer

How can I disable evil in help-mode?

I have the following in my init.el, and it does a great job of automatically disabling evil in certain emacs modes: (dolist (mode '(git-rebase-mode flycheck-error-list-mode inf-ruby-mode term-mode)) (add-to-list…
achalk
  • 579
  • 4
  • 16
2
votes
1 answer

How to autoload a non-elpa package such as help-fns+.el?

I read from some posts (require vs. package-initialize?, and here) that Emacs can autoload packages installed via ELPA/MELPA, which avoids using require on packages and speeds up loading during initialization. And quoting this answer: Note that for…
tinlyx
  • 1,276
  • 1
  • 12
  • 27
2
votes
1 answer

Make opening clickable filenames from Help mode in same window

When I'm in Help-mode buffer generated from describe-function or similar command - after placing cursor on clickable filename text I wish to open this file in the same window (ideally I wish I could also kill this help buffer the same time). How can…
sandric
  • 1,221
  • 9
  • 19
1
vote
1 answer

Customizing name of "Help" buffer opening by package-menu-describe-package

Hitting RET with point on a package name in the *Packages* buffer opens a help buffer, named "Help", describing the package. RET here invokes package-menu-describe-package which in turn calls describe-package which uses with-help-buffer to create…
Pradhan
  • 2,330
  • 14
  • 28
1
vote
2 answers

Open clickable filenames in the same help buffer

I looking for simple solution to open clickable filenames in the same help buffers. For example, when we display help for add-to-list variable and click TAB the cursor is placed on the subr.el file link. We can click the link to open this file in…
Navidot
  • 732
  • 5
  • 12
1
vote
1 answer

How to change mode of buffer created by with-help-window

I have a buffer with name *fsharp info* which I want to change (programmatically) the mode from help-mode to my custom mode. I created a simple major mode fsharp-info-mode to highlight fsharp documentation using markdown's…
1
vote
2 answers

Navigating the C-source code for names with underscores

Is there a built-in option or a package that can help me navigate the C-source code to jump to functions, variables and other items with underscores in the name? Example # 1:  I would like to place my cursor on optional_new_start in window.c -- hit…
lawlist
  • 18,826
  • 5
  • 37
  • 118
1
2