🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87336

function `shell-strip-ctrl-m' not autoloaded right in 19.27

#87336
From: Karl Fogel
Date: Sun, 02 Oct 1994 20:48
24 lines
1660 bytes
        This is the second time I am reporting this bug.  The first
time was several months ago, for a previous version of Emacs.

In GNU Emacs 19.27.7 (sparc-sun-sunos4.1.3) of Tue Sep 20 1994 on phylo

        Function `shell-strip-ctrl-m' is meant to go in the hook
`comint-output-filter-functions'.  The doc string for
shell-strip-ctrl-m even says so.

        However, shell-strip-ctrl-m is defined in shell.el.  Thus, if
one's .emacs contains:

(add-hook 'comint-output-filter-functions 'shell-strip-ctrl-m)

        and one starts another comint-using package (say, GUD) before
having run a shell (so that shell.el hasn't been loaded yet), there
will be errors because `shell-strip-ctrl-m' will not be defined.

        The best solution might be to just move its definition to
comint.el, even though it has the "shell-" prefix, since shell
requires comint anyway.  Or perhaps the function should be autoloaded.
Whatever.

-Karl Fogel
Technical Details
Message-ID: <199410022047.AA26439@phylo.life.uiuc.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!phylo.life.uiuc.edu!kfogel

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,b75149c809cbce90,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-02 13:53:09 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!phylo.life.uiuc.edu!kfogel
From: kfogel@phylo.life.uiuc.edu (Karl Fogel)
Newsgroups: gnu.emacs.bug
Subject: function `shell-strip-ctrl-m' not autoloaded right in 19.27
Date: 2 Oct 1994 16:48:50 -0400
Organization: GNUs Not Usenet
Lines: 24
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <199410022047.AA26439@phylo.life.uiuc.edu>