From: "Antoine Levitt" <smeuuh@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [Patch] Resizing shells in shell-mode
Date: Sat, 24 May 2008 22:23:40 +0200 [thread overview]
Message-ID: <6fa54e4e0805241323t75e6e82cldb3e71663632bc2f@mail.gmail.com> (raw)
In-Reply-To: <jwv7idjsewz.fsf-monnier+emacs@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]
Oops, I messed up when replying, so the messages didn't go to the list. Here
they are :
Me :
Yup, that's a problem. I don't know about other shells so I just made it for
sh/bash. I don't think there is a way to change the environment of a process
without giving it some kind of command. Ideal would be to switch between
different commands according to the shell type, or fail without doing
anything if the shell is unknown. I'm a newbie to emacs and lisp, so I just
made the code using what I could find. Hopefully someone will turn this
snippet into something worthy to be merged into main emacs (even if it
doesn't work for every shell known to man)
Stefan Monnier :
The problem is not too serious w.r.t shell-compatibility (you can make
it configurable). It's more serious when you take into account the fact
that some other process (not a shell) might be running at that moment.
Have you try M-x term instead of M-x shell? It's a different tradeoff,
but it should be able to accomodate window-size changes.
Me:
Well, that's the reason why the patch is to shell, not comint. Isn't shell
the specialized mode for dealing with shells only ?
[-- Attachment #2: Type: text/html, Size: 1274 bytes --]
next prev parent reply other threads:[~2008-05-24 20:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-24 18:38 [Patch] Resizing shells in shell-mode Antoine Levitt
2008-05-24 19:04 ` Stefan Monnier
2008-05-24 20:23 ` Antoine Levitt [this message]
2008-05-24 20:47 ` Stefan Monnier
2008-05-24 20:56 ` Miles Bader
2008-05-24 21:58 ` Antoine Levitt
2008-05-25 8:20 ` Jan Djärv
2008-05-25 12:26 ` Antoine Levitt
2008-05-25 14:43 ` Miles Bader
2008-06-05 6:24 ` Stefan Monnier
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=6fa54e4e0805241323t75e6e82cldb3e71663632bc2f@mail.gmail.com \
--to=smeuuh@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.