From: Per Bothner <per@bothner.com>
To: 22785@debbugs.gnu.org
Subject: bug#22785: 24.5; comint/shell modes should be merged with term mode
Date: Tue, 23 Feb 2016 12:33:14 -0800 [thread overview]
Message-ID: <56CCC20A.4090804@bothner.com> (raw)
The "line" submode of term mode duplicates much of the functionality
of comint mode. When I wrote term mode, my hope was that it would
subsume comint mode, or that comint mode would be built on top of
term mode. That never happened - so far.
'shell mode' should basically be the same as 'term' mode, except
that shell mode starts of in line-editing mode, while term mode
starts up in character mode.
There are obvious advantages to merging these modes. One is
we have ansi escape sequence handling in a single place.
Another is that you can run console applications from shell mode.
In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.7)
of 2016-02-02 on buildhw-05.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.11800000
System Description: Fedora release 23 (Twenty Three)
Configured using:
`configure --build=x86_64-redhat-linux-gnu
--host=x86_64-redhat-linux-gnu --program-prefix=
--disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
--with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
--with-gpm=no build_alias=x86_64-redhat-linux-gnu
host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic' LDFLAGS=-Wl,-z,relro'
Important settings:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Shell-script
Minor modes in effect:
sh-electric-here-document-mode: t
diff-auto-refine-mode: t
xterm-mouse-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: (only . t)
Recent messages:
Wrote /home/bothner/DomTerm/bin/domterm
Mark set
Saving file /home/bothner/DomTerm/bin/domterm...
Wrote /home/bothner/DomTerm/bin/domterm
Mark set
Saving file /home/bothner/DomTerm/bin/domterm...
Wrote /home/bothner/DomTerm/bin/domterm
Mark set
Saving file /home/bothner/DomTerm/bin/domterm...
Wrote /home/bothner/DomTerm/bin/domterm
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message idna format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils info css-mode ispell view mule-util
parse-time sgml-mode sh-script smie executable etags ring texinfo
smerge-mode diff-mode easy-mmode scheme nxml-uchnm rng-xsd xsd-regexp
rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse
rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln
nxml-rap nxml-util nxml-glyph nxml-enc xmltok add-log conf-mode
help-mode autoconf autoconf-mode make-mode vc-dispatcher vc-svn cc-langs
misearch multi-isearch vc-git js advice help-fns byte-opt bytecomp
byte-compile cl-extra cl-loaddefs cl-lib cconv json imenu thingatpt
cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs vc-cvs server time-date xt-mouse tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
Memory information:
((conses 16 515998 51413)
(symbols 48 29080 0)
(miscs 40 1048 8712)
(strings 32 53861 12727)
(string-bytes 1 1792324)
(vectors 16 27981)
(vector-slots 8 1509840 153066)
(floats 8 176 561)
(intervals 56 77667 486)
(buffers 960 103)
(heap 1024 74981 4504))
--
--Per Bothner
per@bothner.com http://per.bothner.com/
--
--Per Bothner
per@bothner.com http://per.bothner.com/
next reply other threads:[~2016-02-23 20:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 20:33 Per Bothner [this message]
2016-02-23 21:05 ` bug#22785: 24.5; comint/shell modes should be merged with term mode Ingo Lohmar
2016-02-23 21:24 ` Per Bothner
2016-02-24 18:20 ` John Wiegley
2016-02-24 22:23 ` Per Bothner
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=56CCC20A.4090804@bothner.com \
--to=per@bothner.com \
--cc=22785@debbugs.gnu.org \
/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.