How to discover (standard) function names?how often is the official Emacs manual updated?How to get the function help without typing?How to look up documentation for a minor mode?How to quote symbols in a documentation string?how to find non-interactive function equivalents of elisp interactive functionsHow go to Emacs lisp source function from my custom elisp file?How do you navigate documentation in Emacs?Navigation to source of compiled lisp function?
How use custom order in folder on Windows 7 and 10
Is it true that, "just ten trading days represent 63 per cent of the returns of the past 50 years"?
Why is (inf + 0j)*1 == inf + nanj?
My Project Manager does not accept carry-over in Scrum, Is that normal?
Should the average user with no special access rights be worried about SMS-based 2FA being theoretically interceptable?
Is there any iPhone SE out there with 3D Touch?
Designing a time thief proof safe
2000s Animated TV show where teenagers could physically go into a virtual world
Can I take NEW (still in their boxes) PC PARTS in my checked in luggage?
Does wetting a beer glass change the foam characteristics?
Why does NASA publish all the results/data it gets?
A simple game that keeps track of the number of questions asked
Meaning of 小せェサル in the following sentence
Is it more effective to add yeast before or after kneading?
My manager quit. Should I agree to defer wage increase to accommodate budget concerns?
Subverting the emotional woman and stoic man trope
What did Tim Curry say in the movie Congo to Ernie Hudson after being insulted?
Does "as soon as" imply simultaneity?
Ruby language curious integer arithmetic : (-5/2) != -(5/2)
Can Northern Ireland's border issue be solved by repartition?
Can the U.S. president make military decisions without consulting anyone?
Drawing line in notebook with Mathematica command
Late 1970's and 6502 chip facilities for operating systems
How to deal with my team leader who keeps calling me about project updates even though I am on leave for personal reasons?
How to discover (standard) function names?
how often is the official Emacs manual updated?How to get the function help without typing?How to look up documentation for a minor mode?How to quote symbols in a documentation string?how to find non-interactive function equivalents of elisp interactive functionsHow go to Emacs lisp source function from my custom elisp file?How do you navigate documentation in Emacs?Navigation to source of compiled lisp function?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When programing emacs (or common) lisp, how to discover (standard) function names (using emacs and working offline)?
Example: Let's say you want to shift bits of an integer, but you don't now the name of the function, which can do this (hint: the name is ash, but you don't know, yet).apropos isn't helping you, because it does not list ash when asking for shift.
help documentation apropos
add a comment
|
When programing emacs (or common) lisp, how to discover (standard) function names (using emacs and working offline)?
Example: Let's say you want to shift bits of an integer, but you don't now the name of the function, which can do this (hint: the name is ash, but you don't know, yet).apropos isn't helping you, because it does not list ash when asking for shift.
help documentation apropos
add a comment
|
When programing emacs (or common) lisp, how to discover (standard) function names (using emacs and working offline)?
Example: Let's say you want to shift bits of an integer, but you don't now the name of the function, which can do this (hint: the name is ash, but you don't know, yet).apropos isn't helping you, because it does not list ash when asking for shift.
help documentation apropos
When programing emacs (or common) lisp, how to discover (standard) function names (using emacs and working offline)?
Example: Let's say you want to shift bits of an integer, but you don't now the name of the function, which can do this (hint: the name is ash, but you don't know, yet).apropos isn't helping you, because it does not list ash when asking for shift.
help documentation apropos
help documentation apropos
edited 8 hours ago
Drew
51.4k4 gold badges65 silver badges115 bronze badges
51.4k4 gold badges65 silver badges115 bronze badges
asked 9 hours ago
juejue
1,8002 silver badges13 bronze badges
1,8002 silver badges13 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Apropos help in Emacs is by no means limited to function apropos.
M-x apropos documentation. It lets you match keywords or a regexp against doc strings. Very helpful when you don't know how the function might be named but you might be able to guess some words used in its doc.For example,
M-x apropos-documentation RET shift bit RETshows you the names and doc for just the functionslshandash. Simple, effective.lsh
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, zeros are shifted in on the left.
(fn VALUE COUNT)
----------------
ash
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, the sign bit is duplicated.
(fn VALUE COUNT)There are also these other Apropos commands:
apropos-command
apropos-follow
apropos-function
apropos-library
apropos-local-value
apropos-local-variable
apropos-option
apropos-value
apropos-variableSee also
apropos-fn+var.el.The Emacs manual (
C-h r),i, is your friend. Likewise, the Elisp manual (C-h i, choose Elisp).Icicles apropos support -- including documentation-apropos commands, which provide the functionality of
apropos-documentation, but which let you match against both the function name (e.g. parts of it) and the doc string.
In answer to your question in the comments, I don't really know how to find similar info for Common Lisp. Perhaps someone else will have a good answer about that. But:
- You can certainly use
iin the CL Info manual provided by Emacs. - Googling "common lisp docstring" turned up this StackOverflow question as the first hit. Perhaps it will help.
Thank you! Any idea how to do this for common lisp with slime and hyperspec installed? ;)
– jue
7 hours ago
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "583"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f52755%2fhow-to-discover-standard-function-names%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Apropos help in Emacs is by no means limited to function apropos.
M-x apropos documentation. It lets you match keywords or a regexp against doc strings. Very helpful when you don't know how the function might be named but you might be able to guess some words used in its doc.For example,
M-x apropos-documentation RET shift bit RETshows you the names and doc for just the functionslshandash. Simple, effective.lsh
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, zeros are shifted in on the left.
(fn VALUE COUNT)
----------------
ash
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, the sign bit is duplicated.
(fn VALUE COUNT)There are also these other Apropos commands:
apropos-command
apropos-follow
apropos-function
apropos-library
apropos-local-value
apropos-local-variable
apropos-option
apropos-value
apropos-variableSee also
apropos-fn+var.el.The Emacs manual (
C-h r),i, is your friend. Likewise, the Elisp manual (C-h i, choose Elisp).Icicles apropos support -- including documentation-apropos commands, which provide the functionality of
apropos-documentation, but which let you match against both the function name (e.g. parts of it) and the doc string.
In answer to your question in the comments, I don't really know how to find similar info for Common Lisp. Perhaps someone else will have a good answer about that. But:
- You can certainly use
iin the CL Info manual provided by Emacs. - Googling "common lisp docstring" turned up this StackOverflow question as the first hit. Perhaps it will help.
Thank you! Any idea how to do this for common lisp with slime and hyperspec installed? ;)
– jue
7 hours ago
add a comment
|
Apropos help in Emacs is by no means limited to function apropos.
M-x apropos documentation. It lets you match keywords or a regexp against doc strings. Very helpful when you don't know how the function might be named but you might be able to guess some words used in its doc.For example,
M-x apropos-documentation RET shift bit RETshows you the names and doc for just the functionslshandash. Simple, effective.lsh
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, zeros are shifted in on the left.
(fn VALUE COUNT)
----------------
ash
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, the sign bit is duplicated.
(fn VALUE COUNT)There are also these other Apropos commands:
apropos-command
apropos-follow
apropos-function
apropos-library
apropos-local-value
apropos-local-variable
apropos-option
apropos-value
apropos-variableSee also
apropos-fn+var.el.The Emacs manual (
C-h r),i, is your friend. Likewise, the Elisp manual (C-h i, choose Elisp).Icicles apropos support -- including documentation-apropos commands, which provide the functionality of
apropos-documentation, but which let you match against both the function name (e.g. parts of it) and the doc string.
In answer to your question in the comments, I don't really know how to find similar info for Common Lisp. Perhaps someone else will have a good answer about that. But:
- You can certainly use
iin the CL Info manual provided by Emacs. - Googling "common lisp docstring" turned up this StackOverflow question as the first hit. Perhaps it will help.
Thank you! Any idea how to do this for common lisp with slime and hyperspec installed? ;)
– jue
7 hours ago
add a comment
|
Apropos help in Emacs is by no means limited to function apropos.
M-x apropos documentation. It lets you match keywords or a regexp against doc strings. Very helpful when you don't know how the function might be named but you might be able to guess some words used in its doc.For example,
M-x apropos-documentation RET shift bit RETshows you the names and doc for just the functionslshandash. Simple, effective.lsh
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, zeros are shifted in on the left.
(fn VALUE COUNT)
----------------
ash
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, the sign bit is duplicated.
(fn VALUE COUNT)There are also these other Apropos commands:
apropos-command
apropos-follow
apropos-function
apropos-library
apropos-local-value
apropos-local-variable
apropos-option
apropos-value
apropos-variableSee also
apropos-fn+var.el.The Emacs manual (
C-h r),i, is your friend. Likewise, the Elisp manual (C-h i, choose Elisp).Icicles apropos support -- including documentation-apropos commands, which provide the functionality of
apropos-documentation, but which let you match against both the function name (e.g. parts of it) and the doc string.
In answer to your question in the comments, I don't really know how to find similar info for Common Lisp. Perhaps someone else will have a good answer about that. But:
- You can certainly use
iin the CL Info manual provided by Emacs. - Googling "common lisp docstring" turned up this StackOverflow question as the first hit. Perhaps it will help.
Apropos help in Emacs is by no means limited to function apropos.
M-x apropos documentation. It lets you match keywords or a regexp against doc strings. Very helpful when you don't know how the function might be named but you might be able to guess some words used in its doc.For example,
M-x apropos-documentation RET shift bit RETshows you the names and doc for just the functionslshandash. Simple, effective.lsh
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, zeros are shifted in on the left.
(fn VALUE COUNT)
----------------
ash
Function: Return VALUE with its bits shifted left by COUNT.
If COUNT is negative, shifting is actually to the right.
In this case, the sign bit is duplicated.
(fn VALUE COUNT)There are also these other Apropos commands:
apropos-command
apropos-follow
apropos-function
apropos-library
apropos-local-value
apropos-local-variable
apropos-option
apropos-value
apropos-variableSee also
apropos-fn+var.el.The Emacs manual (
C-h r),i, is your friend. Likewise, the Elisp manual (C-h i, choose Elisp).Icicles apropos support -- including documentation-apropos commands, which provide the functionality of
apropos-documentation, but which let you match against both the function name (e.g. parts of it) and the doc string.
In answer to your question in the comments, I don't really know how to find similar info for Common Lisp. Perhaps someone else will have a good answer about that. But:
- You can certainly use
iin the CL Info manual provided by Emacs. - Googling "common lisp docstring" turned up this StackOverflow question as the first hit. Perhaps it will help.
edited 6 hours ago
answered 8 hours ago
DrewDrew
51.4k4 gold badges65 silver badges115 bronze badges
51.4k4 gold badges65 silver badges115 bronze badges
Thank you! Any idea how to do this for common lisp with slime and hyperspec installed? ;)
– jue
7 hours ago
add a comment
|
Thank you! Any idea how to do this for common lisp with slime and hyperspec installed? ;)
– jue
7 hours ago
Thank you! Any idea how to do this for common lisp with slime and hyperspec installed? ;)
– jue
7 hours ago
Thank you! Any idea how to do this for common lisp with slime and hyperspec installed? ;)
– jue
7 hours ago
add a comment
|
Thanks for contributing an answer to Emacs Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f52755%2fhow-to-discover-standard-function-names%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown