Article View: gnu.emacs.bug
Article #87796Documentation: info omits shell-prompt-pattern
From: Edward Welbourne, Genetics
Date: Wed, 24 Aug 1994 22:07
Date: Wed, 24 Aug 1994 22:07
26 lines
1772 bytes
1772 bytes
I couldn't find any mention of shell-prompt-pattern, though I did get enough to discover that I could set comint-prompt-regexp in ~/.emacs_csh to achieve the desired effect. I suggest changing Node: History References (<- Shell History <- Shell <- Emacs/top) to mention shell-prompt-pattern rather than comint-prompt-regexp. The remainder is all asides: A certain logic wants to rename the variable to shell-prompt-regexp or all of the shell-(pushd|popd|cd)-regexp variables to shell-...-pattern rather than having this mixture of -regexp and -pattern. Personally, I prefer pattern as being a real word ;^) By the by ... apropos help (C-h a) doesn't help with variables. I wish it did. Likewise, I wish there were a C-h C-v. And ... the mechanism which makes ~/.emacs_csh relevant appears to be divertable using shell-mode-hook provided I can work out how to ask, from inside a hooked function, what shell's currently in use. This seems a neater way to do things and would be worth documenting. Have fun, Eddy.
Technical Details
Message-ID:
<9408242212.AA01095@hmg1.gen.cam.ac.uk>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gen.CAm.ac.UK!eddyShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,6aa48dafb4512168,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-08-24 18:01:53 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gen.CAm.ac.UK!eddy From: eddy@gen.CAm.ac.UK (Edward Welbourne, Genetics) Newsgroups: gnu.emacs.bug Subject: Documentation: info omits shell-prompt-pattern Date: 24 Aug 1994 18:07:32 -0400 Organization: GNUs Not Usenet Lines: 26 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9408242212.AA01095@hmg1.gen.cam.ac.uk>