all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@dman.ddts.net>
Subject: Re: no pangs of guilt that can't turn off M-x shell's ^ ! ?
Date: Tue, 18 Mar 2003 08:09:10 +0800	[thread overview]
Message-ID: <873cllk02h.fsf@jidanni.org> (raw)
In-Reply-To: 3E75FA45.2030103@ihs.com

>> Come on guys, why so mum about the fact that one cannot turn off the
>> special effects of ! and ^ when running M-x shell?

K> Because I have no idea what you're talking about.  You should know
K> how to submit a proper bug report by now.

Only proper bugs deserve proper bug reports. <--original witty phrase debuting here

I'm talking about [*info* (emacs) History References]

$ emacs --no-site-file -q -nw -f shell
c a t RET ! ^ ! ^ ! ^ ! RET ESC p
One sees
$ cat
!^!^!^!
!^!^!^!
!
It has mangled my last line. I want the three lines to look the same.

>> It is quite disturbing for one who has turned them off years ago in
>> bash (set +o histexpand) to suddenly have them play tricks on one in
>> M-x shell.

K> Isn't your shell initialization file read, even under `M-x shell'?

To be clear, in my above example, I am not talking to the shell
anymore, but to cat. So don't bash bash. shell-mode is to blame.

K> If not, is this the effect you want:

K> 	    (local-set-key "!" 'keyboard-quit)
K> 	    (local-set-key "^" 'keyboard-quit)))

no, you're barfing up the wrong tree.  The shell-mode author thought
csh-style ! and ^ history substitutions were so great, he forgot to
leave a way to turn them off.  Yes, not being able to type them would
indeed fix the problem, as would snipping my keyboard cable. "rm -r
dangerous??, just local-set-key "r"...

  reply	other threads:[~2003-03-18  0:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3247.1047784613.21513.bug-gnu-emacs@gnu.org>
2003-03-17 16:39 ` no pangs of guilt that can't turn off M-x shell's ^ ! ? Kevin Rodgers
2003-03-18  0:09   ` Dan Jacobson [this message]
     [not found]   ` <mailman.3309.1047964346.21513.bug-gnu-emacs@gnu.org>
2003-03-18 16:58     ` Kevin Rodgers
2003-03-19  6:52       ` Dan Jacobson
2003-03-15 18:55 Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873cllk02h.fsf@jidanni.org \
    --to=jidanni@dman.ddts.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.