all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Paden <aaronbpaden@gmail.com>
To: 19524@debbugs.gnu.org
Subject: bug#19524: 24.4; term.el directory tracking documentation
Date: Tue, 06 Jan 2015 14:55:59 -0600	[thread overview]
Message-ID: <1420577759.5087.7.camel@gmail.com> (raw)

The method documented in term.el for tracking your directory doesn't
work or doesn't work for all cases. This is actually a problem I
stumbled on some time ago, but I was reminded of it recently after
trying out fish shell. See:

http://unix.stackexchange.com/questions/70764/get-zsh-to-report-directory-t=o-emacs

The method I found that worked was actually derived from the bash source
code, and is much simpler Here is an example function for fish shell:

function cd
    builtin cd $argv
    if test $TERM = eterm -o $TERM = eterm-color
        echo \032/(pwd) #IMPORTANT
    end
end

I don't need to tell emacs my user or hostname. Actually — doing so
results in tramp errors. Also, the escape used is different than what is
documented.

---

In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.3)
 of 2014-10-21 on bitzer.hoetzel.info
Configured using:
 `configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib
 --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft
 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-str=
ong
 --param=3Dssp-buffer-size=3D4' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  evil-leader-mode: t
  evil-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  evil-local-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-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: t
  completion-in-region-mode: t

Recent input:
n RET k k k k k k k k k k k k l l l l l l c $ a a r=20
o n b p a d e n @ g m a i l . c o m ESC j j j : s p=20
l i t RET C-w j : e SPC ~ / b TAB RET V G y : q RET=20
k j p k o ESC j j j k k k d j j j j j j j j j j j j=20
j j j j j j j j j j j j k k k k k j o ESC k k k k k=20
k k k k k k k k k k k k k k k k k k k k k k k k k k=20
k k k k j j j j j j j j j j j j j j j j j j C-c C-c=20
y e s RET m a i l SPC c l i e n t RET k k k k : q a=20
RET ESC [ > 1 ; 3 8 0 3 ; 0 c j j j j j j j j j j j=20
j j j j j j j j j j j j j j j j j k k k k k k k k k=20
k k k k k k k k k k k k k V j j j j j j j j j j j j=20
j j j j j j j j j j j j j k j y k k : r e DEL DEL r=20
e p o r t TAB RET

Recent messages:
Sending...
Mark set [2 times]
Sending via mail...
Sending...done
Starting Firefox...
(No files need saving)
When done with a buffer, type C-x #
byte-code: End of buffer [9 times]
byte-code: Beginning of buffer [3 times]
byte-code: End of buffer [6 times]
byte-code: Beginning of buffer [2 times]

Load-path shadows:
None found.

Features:
(mailalias mailclient browse-url qp vc-git cus-edit cus-start cus-load
wid-edit help-mode pp 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 shell pcomplete comint
ansi-color xterm server time-date color-theme-approximate color
evil-leader evil evil-integration undo-tree diff evil-maps evil-commands
evil-command-window evil-types evil-search evil-ex evil-macros
evil-repeat evil-states evil-core advice help-fns evil-common windmove
thingatpt rect evil-digraphs evil-vars ring edmacro kmacro cl-loaddefs
cl-lib info easymenu package epg-config 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 178359 22664)
 (symbols 48 25901 0)
 (miscs 40 60 265)
 (strings 32 36415 6830)
 (string-bytes 1 971850)
 (vectors 16 20107)
 (vector-slots 8 841762 107216)
 (floats 8 230 455)
 (intervals 56 677 108)
 (buffers 960 15)
 (heap 1024 23606 795))







             reply	other threads:[~2015-01-06 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 20:55 Aaron Paden [this message]
2019-07-25 22:38 ` bug#19524: 24.4; term.el directory tracking documentation Noam Postavsky

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=1420577759.5087.7.camel@gmail.com \
    --to=aaronbpaden@gmail.com \
    --cc=19524@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.