unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
@ 2018-02-20  2:07 Aaron Jensen
  2018-02-20 20:25 ` Glenn Morris
  2018-03-14 15:59 ` Aaron Jensen
  0 siblings, 2 replies; 18+ messages in thread
From: Aaron Jensen @ 2018-02-20  2:07 UTC (permalink / raw)
  To: 30544


emacs -Q

(require 'term)

M-x ansi-term
select: zsh

type at prompt:

export PROMPT='one
two $'

C-x 2

Expect to see the prompt as:

one
two$

Instead, see:

one
one
two$



In GNU Emacs 26.0.91 (build 1, x86_64-apple-darwin17.3.0, NS appkit-1561.20 Version 10.13.2 (Build 17C205))
 of 2018-01-13 built on aaron-mbt.local
Repository revision: 5dd0e5c54d29e81c07798a124295c8c3f016d621
Windowing system distributor 'Apple', version 10.3.1561
Recent messages:
No event to add
Saving file /Users/aaronjensen/.emacs.d/.cache/work.org...
Wrote /Users/aaronjensen/.emacs.d/.cache/work.org
Fetched data overwrote
/Users/aaronjensen/.emacs.d/.cache/work.org
No event to add
evil-line-move: Beginning of buffer [5 times]
Indenting region...done
Saving file /Users/aaronjensen/.dotfiles/hammerspoon/readline_keys.lua...
Wrote /Users/aaronjensen/.dotfiles/hammerspoon/readline_keys.lua

Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/info/emacs
 --prefix=/usr/local/Cellar/emacs-plus/HEAD-5dd0e5c --with-xml2
 --without-dbus --with-gnutls --with-imagemagick --with-modules
 --with-rsvg --with-ns --disable-ns-self-contained'

Configured features:
JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
NS MODULES LCMS2

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

Major mode: Lua

Minor modes in effect:
  eros-mode: t
  magit-auto-revert-mode: t
  global-git-gutter+-mode: t
  git-gutter+-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  company-statistics-mode: t
  company-childframe-mode: t
  company-mode: t
  goto-address-prog-mode: t
  bug-reference-prog-mode: t
  auto-highlight-symbol-mode: t
  highlight-numbers-mode: t
  highlight-parentheses-mode: t
  rainbow-delimiters-mode: t
  flycheck-popup-tip-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  recentf-mode: t
  desktop-save-mode: t
  auto-dim-other-buffers-mode: t
  global-wakatime-mode: t
  wakatime-mode: t
  evil-mc-mode: t
  hl-todo-mode: t
  global-spacemacs-whitespace-cleanup-mode: t
  spacemacs-whitespace-cleanup-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  winum-mode: t
  winner-mode: t
  pupo-mode: t
  purpose-mode: t
  volatile-highlights-mode: t
  global-vi-tilde-fringe-mode: t
  vi-tilde-fringe-mode: t
  save-place-mode: t
  savehist-mode: t
  projectile-rails-global-mode: t
  projectile-mode: t
  persp-mode: t
  global-origami-mode: t
  origami-mode: t
  Info-breadcrumbs-in-mode-line-mode: t
  flycheck-pos-tip-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  flx-ido-mode: t
  eyebrowse-mode: t
  global-evil-surround-mode: t
  evil-surround-mode: t
  global-evil-search-highlight-persist: t
  evil-search-highlight-persist: t
  show-smartparens-global-mode: t
  show-smartparens-mode: t
  smartparens-mode: t
  evil-lion-mode: t
  evil-escape-mode: t
  eval-sexp-fu-flash-mode: t
  editorconfig-mode: t
  dtrt-indent-mode: t
  global-anzu-mode: t
  anzu-mode: t
  diff-auto-refine-mode: t
  counsel-mode: t
  ivy-mode: t
  delete-selection-mode: t
  clean-aindent-mode: t
  hybrid-mode: t
  which-key-mode: t
  override-global-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  evil-mode: t
  evil-local-mode: t
  spacemacs-leader-override-mode: t
  global-spacemacs-leader-override-mode: t
  global-hl-line-mode: t
  xterm-mouse-mode: t
  global-auto-revert-mode: t
  auto-revert-mode: t
  shell-dirtrack-mode: t
  ido-vertical-mode: t
  global-page-break-lines-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t
  hs-minor-mode: t

Load-path shadows:
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/ht-20180129.1434/ht hides /Users/aaronjensen/.emacs.d/core/libs/ht
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/inf-ruby-20180121.2300/inf-ruby hides /usr/local/share/emacs/site-lisp/ruby/inf-ruby
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-stan hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-stan
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-exp hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-exp
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-J hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-J
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-eshell hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-eshell
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-emacs-lisp hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-emacs-lisp
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-gnus hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-gnus
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-css hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-css
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-lob hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-lob
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-forth hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-forth
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-macs hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-macs
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-version hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-version
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-scheme hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-scheme
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-abc hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-abc
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-C hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-C
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-capture hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-capture
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-ref hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-ref
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-clojure hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-clojure
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-mouse hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-mouse
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-ledger hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-ledger
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-ctags hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-ctags
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-entities hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-entities
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-archive hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-archive
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-screen hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-screen
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-haskell hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-haskell
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-asymptote hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-asymptote
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-mhe hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-mhe
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-table hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-table
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-keys hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-keys
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-org hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-org
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-plot hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-plot
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-awk hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-awk
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-groovy hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-groovy
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-octave hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-octave
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-faces hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-faces
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-colview hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-colview
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-R hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-R
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-timer hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-timer
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-ebnf hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-ebnf
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-mobile hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-mobile
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-fortran hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-fortran
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-shell hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-shell
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-perl hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-perl
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-sqlite hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-sqlite
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-sed hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-sed
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-list hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-list
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-ruby hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-ruby
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-eval hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-eval
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-habit hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-habit
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-clock hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-clock
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-html hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-html
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-src hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-src
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-lisp hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-lisp
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-ditaa hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-ditaa
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-pcomplete hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-pcomplete
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-lint hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-lint
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-rmail hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-rmail
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-latex hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-latex
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-sass hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-sass
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-io hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-io
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-tangle hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-tangle
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-calc hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-calc
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-java hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-java
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-icalendar hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-icalendar
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-eww hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-eww
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-md hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-md
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-beamer hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-beamer
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-element hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-element
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-protocol hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-protocol
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-mscgen hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-mscgen
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-gnuplot hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-gnuplot
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-latex hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-latex
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-id hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-id
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-vala hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-vala
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-man hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-man
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-feed hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-feed
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-lua hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-lua
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-table hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-table
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-ocaml hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-ocaml
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-coq hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-coq
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-picolisp hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-picolisp
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-indent hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-indent
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-lilypond hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-lilypond
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-matlab hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-matlab
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-datetree hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-datetree
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-python hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-python
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-bbdb hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-bbdb
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-makefile hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-makefile
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-duration hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-duration
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-agenda hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-agenda
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-dot hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-dot
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-js hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-js
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-publish hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-publish
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-inlinetask hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-inlinetask
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-org hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-org
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-core hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-core
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-compat hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-compat
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-docview hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-docview
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-odt hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-odt
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-plantuml hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-plantuml
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-ascii hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-ascii
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-loaddefs hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-loaddefs
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-w3m hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-w3m
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-bibtex hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-bibtex
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-info hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-info
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-hledger hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-hledger
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-maxima hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-maxima
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-macro hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-macro
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-sql hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-sql
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-attach hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-attach
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-processing hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-processing
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ox-texinfo hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ox-texinfo
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-irc hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-irc
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-crypt hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-crypt
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-footnote hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-footnote
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/org-install hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/org-install
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-comint hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-comint
/Users/aaronjensen/.emacs.d/elpa/26.0/develop/org-plus-contrib-20180219/ob-shen hides /usr/local/Cellar/emacs-plus/HEAD-5dd0e5c/share/emacs/26.0.91/lisp/org/ob-shen

Features:
(shadow sort mail-extr emacsbug sendmail smex company-lua
smartparens-lua lua-mode overseer pkg-info epl auto-compile packed
elisp-slime-nav eros flycheck-package package-lint finder lispyville
lispy iedit iedit-lib lispy-inline avy semantic/db semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local
cedet evil-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help
ediff-init ediff-util ediff edebug lispy-tags nameless eieio-opt
speedbar sb-image ezimage dframe org-gcal org-archive request-deferred
deferred request alert log4e notifications dbus xml gntp executable
org-clock cal-iso diary-lib diary-loaddefs company-emoji
company-emoji-list org-eldoc evil-org org-table ob-shell ob-ruby
org-bullets org-download toc-org org-indent image-file org-rmail org-mhe
org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int
gnus-range gnus-win gnus nnheader org-docview doc-view jka-compr
org-bibtex bibtex org-bbdb org-w3m org-checklist org-inlinetask epa-file
org-agenda smartparens-org ob-elixir ob-http ob-http-mode ob-restclient
restclient ox-gfm ox-md ox-reveal ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox
orgit org-element avl-tree generator magithub magithub-dash
magithub-notification magithub-issue-view magithub-comment magithub-repo
magithub-orgs magithub-issue-tricks magithub-issue-post
magithub-edit-mode magithub-ci magithub-issue magithub-label
magithub-user magithub-core magithub-faces magithub-settings
smartparens-markdown markdown-mode ghub+ apiwrap apropos evil-magit
git-rebase magit-gh-pulls gh gh-users gh-issues gh-pulls gh-repos
gh-comments gh-gist gh-oauth gh-api logito gh-cache gh-auth gh-url
url-http tls gnutls url-gw nsm magit-obsolete magit-blame magit-stash
magit-bisect magit-remote magit-commit magit-sequence magit-notes
magit-worktree magit-tag magit-merge magit-branch magit-reset
magit-collab ghub url-auth url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf mailcap magit-files
magit-refs magit-status magit magit-repos magit-apply magit-wip
magit-log magit-diff smerge-mode magit-core magit-autorevert
magit-process magit-margin magit-mode org org-macro org-footnote
org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar
cal-loaddefs git-gutter-fringe+ fringe-helper git-gutter+ git-commit
with-editor magit-git magit-section magit-utils crm magit-popup
async-bytecomp async log-edit message rmc puny rfc822 mml mml-sec epa
gnus-util rmail rmail-loaddefs mailabbrev mail-utils gmm-utils
mailheader pcvs-util add-log shell-pop shrink-path vc-git open-junk-file
eslintd-fix flow-minor-mode company-statistics company-files
company-keywords company-capf company-dabbrev-code company-dabbrev
company-flow company-childframe posframe company js-doc iswitchb
js2-imenu-extras js2-refactor js2r-paredit js2r-conveniences
js2r-conditionals js2r-wrapping js2r-functions js2r-vars
multiple-cursors-core js2r-iife js2r-formatting js2r-helpers skewer-mode
cache-table simple-httpd pp url-util add-node-modules-path goto-addr
bug-reference auto-highlight-symbol highlight-numbers parent-mode
highlight-parentheses hideshow rainbow-delimiters yasnippet-snippets
yasnippet flycheck-credo flycheck-popup-tip popup elec-pair
cursor-sensor rjsx-mode js2-mode smartparens-javascript js
smartparens-html sgml-mode dom cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs editorconfig-core
editorconfig-core-handle editorconfig-fnmatch colir counsel-projectile
recentf tree-widget desktop frameset face-remap auto-dim-other-buffers
wakatime-mode contextual-menubar quiet-emacs fill-or-unfill
init-macos-terminal-copy-paste init-flyspell init-terminal-cursor
evil-terminal-cursor-changer color init-org init-magit evil-mc
evil-mc-command-execute evil-mc-command-record evil-mc-cursor-make
evil-mc-region evil-mc-cursor-state evil-mc-undo evil-mc-vars
evil-mc-known-commands evil-mc-common hl-todo persistent-soft list-utils
pcache eieio-base font-utils server zone spacemacs-whitespace-cleanup
ws-butler winum winner spacemacs-purpose-popwin window-purpose-x
imenu-list imenu window-purpose window-purpose-fixes
window-purpose-prefix-overload window-purpose-switch let-alist
window-purpose-layout window-purpose-core window-purpose-configuration
window-purpose-utils volatile-highlights vi-tilde-fringe unicode-fonts
tmux string-inflection smartparens-config smartparens-text
smartparens-ruby saveplace savehist ruby-test-mode pcre2el rxt
re-builder projectile-rails rake inflections inf-ruby ruby-mode smie
projectile grep ibuf-ext ibuffer ibuffer-loaddefs popwin persp-mode
osx-trash origami origami-parsers linum ivy-hydra info+ image-mode
flycheck-pos-tip pos-tip flycheck-flow flycheck find-func flx-ido
eyebrowse evil-surround evil-search-highlight-persist evil-numbers
evil-lisp-state smartparens evil-lion evil-indent-plus evil-exchange
evil-escape evil-args eval-sexp-fu highlight font-lock+ frame-fns avoid
eterm-256color f term ehelp xterm-color editorconfig noutline outline
dtrt-indent doom-modeline evil-anzu anzu all-the-icons
all-the-icons-faces data-material data-weathericons data-octicons
data-fileicons data-faicons data-alltheicons memoize diff-hl vc-dir ewoc
vc vc-dispatcher diff-mode counsel dired dired-loaddefs compile esh-util
etags xref project swiper ivy flx delsel ivy-overlay ffap
clean-aindent-mode adaptive-wrap gh-common gh-profile s marshal dash rx
docker-tramp tramp-cache hybrid-mode exec-path-from-shell
evil-evilified-state which-key use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
use-package-core hydra lv cus-edit cus-start cus-load evil
evil-integration undo-tree diff evil-maps evil-commands reveal flyspell
ispell evil-jumps evil-command-window evil-types evil-search evil-ex
evil-macros evil-repeat evil-states evil-core evil-common windmove
thingatpt rect evil-digraphs diminish evil-vars bind-map quelpa help-fns
radix-tree package-build mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr json map lisp-mnt
hl-line xt-mouse autorevert filenotify cl-extra disp-table wid-edit
monokai-theme info finder-inf patch-server init-sass init-php init-html
init-evil tramp tramp-compat tramp-loaddefs trampver shell pcomplete
comint ansi-color ring parse-time format-spec ido-vertical-mode ido
core-spacemacs core-use-package-ext core-transient-state
core-micro-state core-toggle core-keybindings core-fonts-support
core-themes-support core-display-init core-jump core-release-management
core-custom-settings core-configuration-layer eieio-compat
core-spacemacs-buffer core-funcs core-dotspacemacs ht cl help-mode
warnings package url-handlers url-parse auth-source cl-seq
password-cache url-vars seq eieio byte-opt bytecomp byte-compile cconv
eieio-core eieio-loaddefs epg epg-config core-command-line pcase
core-debug edmacro kmacro derived cl-macs gv advice profiler easymenu
cl-loaddefs cl-lib page-break-lines easy-mmode core-emacs-backports
subr-x time-date tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 1773791 442439)
 (symbols 48 94177 2)
 (miscs 40 4182 8433)
 (strings 32 338588 41286)
 (string-bytes 1 11254709)
 (vectors 16 160805)
 (vector-slots 8 3518527 196808)
 (floats 8 1037 1409)
 (intervals 56 81080 1177)
 (buffers 992 51))





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-02-20  2:07 bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times) Aaron Jensen
@ 2018-02-20 20:25 ` Glenn Morris
  2018-03-14 15:59 ` Aaron Jensen
  1 sibling, 0 replies; 18+ messages in thread
From: Glenn Morris @ 2018-02-20 20:25 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544


Bisected to 165bea78008ec7545698f2e893821b4090f20c79 (Emacs 25.1).





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-02-20  2:07 bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times) Aaron Jensen
  2018-02-20 20:25 ` Glenn Morris
@ 2018-03-14 15:59 ` Aaron Jensen
  2018-03-14 17:34   ` Eli Zaretskii
  1 sibling, 1 reply; 18+ messages in thread
From: Aaron Jensen @ 2018-03-14 15:59 UTC (permalink / raw)
  To: 30544; +Cc: Noam Postavsky

Hi Noam,

I saw that you've been doing some term.el work recently. Do you have
an idea what could be causing this?

> emacs -Q
>
> (require 'term)
>
> M-x ansi-term
> select: zsh
>
> type at prompt:
>
> export PROMPT='one
> two $'
>
> C-x 2
>
> Expect to see the prompt as:
>
> one
> two$
>
> Instead, see:
>
> one
> one
> two$


Thanks!





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 15:59 ` Aaron Jensen
@ 2018-03-14 17:34   ` Eli Zaretskii
  2018-03-14 18:08     ` Aaron Jensen
  0 siblings, 1 reply; 18+ messages in thread
From: Eli Zaretskii @ 2018-03-14 17:34 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544, npostavs

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Wed, 14 Mar 2018 08:59:55 -0700
> Cc: Noam Postavsky <npostavs@gmail.com>
> 
> I saw that you've been doing some term.el work recently. Do you have
> an idea what could be causing this?

See Glenn's message with bisection: as expected, this is due to the
telling the shell to resize its window.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 17:34   ` Eli Zaretskii
@ 2018-03-14 18:08     ` Aaron Jensen
  2018-03-14 18:30       ` Eli Zaretskii
  2018-03-14 18:33       ` Glenn Morris
  0 siblings, 2 replies; 18+ messages in thread
From: Aaron Jensen @ 2018-03-14 18:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 30544, Noam Postavsky

On Wed, Mar 14, 2018 at 10:34 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Aaron Jensen <aaronjensen@gmail.com>
>> Date: Wed, 14 Mar 2018 08:59:55 -0700
>> Cc: Noam Postavsky <npostavs@gmail.com>
>>
>> I saw that you've been doing some term.el work recently. Do you have
>> an idea what could be causing this?
>
> See Glenn's message with bisection: as expected, this is due to the
> telling the shell to resize its window.

I don't know if this was directed at Noam or myself, but one
interesting thing is that iTerm also has artifacts when resizing, but
only if resizing to be horizontally smaller. term.el appears to have
artifacts every time any size change is made (horizontal or vertical).





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 18:08     ` Aaron Jensen
@ 2018-03-14 18:30       ` Eli Zaretskii
  2018-03-14 20:25         ` Aaron Jensen
  2018-03-14 18:33       ` Glenn Morris
  1 sibling, 1 reply; 18+ messages in thread
From: Eli Zaretskii @ 2018-03-14 18:30 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544, npostavs

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Wed, 14 Mar 2018 11:08:32 -0700
> Cc: 30544@debbugs.gnu.org, Noam Postavsky <npostavs@gmail.com>
> 
> On Wed, Mar 14, 2018 at 10:34 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> >> From: Aaron Jensen <aaronjensen@gmail.com>
> >> Date: Wed, 14 Mar 2018 08:59:55 -0700
> >> Cc: Noam Postavsky <npostavs@gmail.com>
> >>
> >> I saw that you've been doing some term.el work recently. Do you have
> >> an idea what could be causing this?
> >
> > See Glenn's message with bisection: as expected, this is due to the
> > telling the shell to resize its window.
> 
> I don't know if this was directed at Noam or myself

It was meant to answer your question.

> but one interesting thing is that iTerm also has artifacts when
> resizing, but only if resizing to be horizontally smaller. term.el
> appears to have artifacts every time any size change is made
> (horizontal or vertical).

I think the problem in term.el is because we send the TIOCSWINSZ ioctl
when we shouldn't, see window-adjust-process-window-size-function and
set-process-window-size.  We had similar issues in the past, see
bug#24465.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 18:08     ` Aaron Jensen
  2018-03-14 18:30       ` Eli Zaretskii
@ 2018-03-14 18:33       ` Glenn Morris
  1 sibling, 0 replies; 18+ messages in thread
From: Glenn Morris @ 2018-03-14 18:33 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544, Noam Postavsky


(setq window-adjust-process-window-size-function 'ignore)





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 18:30       ` Eli Zaretskii
@ 2018-03-14 20:25         ` Aaron Jensen
  2018-03-14 23:49           ` Noam Postavsky
  0 siblings, 1 reply; 18+ messages in thread
From: Aaron Jensen @ 2018-03-14 20:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 30544, Noam Postavsky

On Wed, Mar 14, 2018 at 11:30 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> I think the problem in term.el is because we send the TIOCSWINSZ ioctl
> when we shouldn't, see window-adjust-process-window-size-function and
> set-process-window-size.  We had similar issues in the past, see
> bug#24465.

Hmm, this is tricky. For my case, I'd only want to send TIOCSWINSZ if
the width changes. However, if someone ran a full screen application
in a term, they'd want it to send that if the height or width changed
I imagine.

I guess my wondering is what is different about term.el vs iTerm.
iTerm has similar artifacts in zsh if the width is adjusted, but not
when the height is adjusted.

AFAICT the only things they do different are they rate limit the
setting and they prevent setting it if the size is already as it
should be.

https://github.com/gnachman/iTerm2/blob/f8a5930b5c47fa6420f423fcb33320029abdcd5b/sources/PTYTask.m#L873





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 20:25         ` Aaron Jensen
@ 2018-03-14 23:49           ` Noam Postavsky
  2018-03-15  0:54             ` Aaron Jensen
  2018-04-02  2:39             ` Noam Postavsky
  0 siblings, 2 replies; 18+ messages in thread
From: Noam Postavsky @ 2018-03-14 23:49 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544

Aaron Jensen <aaronjensen@gmail.com> writes:

> I guess my wondering is what is different about term.el vs iTerm.
> iTerm has similar artifacts in zsh if the width is adjusted, but not
> when the height is adjusted.
>
> AFAICT the only things they do different are they rate limit the
> setting and they prevent setting it if the size is already as it
> should be.
>
> https://github.com/gnachman/iTerm2/blob/f8a5930b5c47fa6420f423fcb33320029abdcd5b/sources/PTYTask.m#L873

Odd.  I have urxvt here, and it seems to be able to resize both width
and height without getting any duplicated prompts.  Could it be that zsh
always repaints the prompt on a resize, but term.el (and iTerm for width
adjustments) don't put point where zsh is expecting after a resize?






^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 23:49           ` Noam Postavsky
@ 2018-03-15  0:54             ` Aaron Jensen
  2018-03-15  1:06               ` Noam Postavsky
  2018-04-02  2:39             ` Noam Postavsky
  1 sibling, 1 reply; 18+ messages in thread
From: Aaron Jensen @ 2018-03-15  0:54 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 30544

On Wed, Mar 14, 2018 at 4:49 PM, Noam Postavsky <npostavs@gmail.com> wrote:
> Odd.  I have urxvt here, and it seems to be able to resize both width
> and height without getting any duplicated prompts.  Could it be that zsh
> always repaints the prompt on a resize, but term.el (and iTerm for width
> adjustments) don't put point where zsh is expecting after a resize?

Just to be clear, you're seeing that w/ a two line prompt? This is
really only an issue w/ a two line prompt for me.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-15  0:54             ` Aaron Jensen
@ 2018-03-15  1:06               ` Noam Postavsky
  2018-03-15  1:33                 ` Aaron Jensen
  0 siblings, 1 reply; 18+ messages in thread
From: Noam Postavsky @ 2018-03-15  1:06 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544

Aaron Jensen <aaronjensen@gmail.com> writes:

> On Wed, Mar 14, 2018 at 4:49 PM, Noam Postavsky <npostavs@gmail.com> wrote:
>> Odd.  I have urxvt here, and it seems to be able to resize both width
>> and height without getting any duplicated prompts.  Could it be that zsh
>> always repaints the prompt on a resize, but term.el (and iTerm for width
>> adjustments) don't put point where zsh is expecting after a resize?
>
> Just to be clear, you're seeing that w/ a two line prompt? This is
> really only an issue w/ a two line prompt for me.

Yes, I did PROMPT=$'one\ntwo' (by the way, I found I had to remove
'prompt adam1' from my .zshrc (the default setup puts it in), otherwise
setting PROMPT has no effect).  I can reproduce the problem in term.el,
but urxvt doesn't have any problems no matter how I resize.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-15  1:06               ` Noam Postavsky
@ 2018-03-15  1:33                 ` Aaron Jensen
  2018-03-15  1:42                   ` Noam Postavsky
  0 siblings, 1 reply; 18+ messages in thread
From: Aaron Jensen @ 2018-03-15  1:33 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 30544

On Wed, Mar 14, 2018 at 6:06 PM, Noam Postavsky <npostavs@gmail.com> wrote:
> Yes, I did PROMPT=$'one\ntwo' (by the way, I found I had to remove
> 'prompt adam1' from my .zshrc (the default setup puts it in), otherwise
> setting PROMPT has no effect).  I can reproduce the problem in term.el,
> but urxvt doesn't have any problems no matter how I resize.

Ah, apparently I can only reproduce it in iterm2 if I have an RPROMPT
that does a lineup and linedown to get the RPROMPT on the first
line...

PROMPT=$'one\ntwo'
local _lineup=$'\e[1A'
local _linedown=$'\e[1B'
RPROMPT='%{${_lineup}%}%*%{${_linedown}%}'

I've also noticed that emacs seems to be doing unnecessary resizing
when switching between perspectives using perspective.el. I haven't
yet looked into what is causing that, but I suspect adding a check
similar to what iterm2 has, where we actually see what the process tty
size is and only set it if it has changed may help that.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-15  1:33                 ` Aaron Jensen
@ 2018-03-15  1:42                   ` Noam Postavsky
  2018-03-15  2:41                     ` Aaron Jensen
  0 siblings, 1 reply; 18+ messages in thread
From: Noam Postavsky @ 2018-03-15  1:42 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544

Aaron Jensen <aaronjensen@gmail.com> writes:

> On Wed, Mar 14, 2018 at 6:06 PM, Noam Postavsky <npostavs@gmail.com> wrote:
>> Yes, I did PROMPT=$'one\ntwo' (by the way, I found I had to remove
>> 'prompt adam1' from my .zshrc (the default setup puts it in), otherwise
>> setting PROMPT has no effect).  I can reproduce the problem in term.el,
>> but urxvt doesn't have any problems no matter how I resize.
>
> Ah, apparently I can only reproduce it in iterm2 if I have an RPROMPT
> that does a lineup and linedown to get the RPROMPT on the first
> line...
>
> PROMPT=$'one\ntwo'
> local _lineup=$'\e[1A'
> local _linedown=$'\e[1B'
> RPROMPT='%{${_lineup}%}%*%{${_linedown}%}'

Not sure if I'm missing some zsh context here, but when I do that, I see
literal "lineup" and "linedown" at the right.  If do instead

PROMPT=$'one\ntwo'
RPROMPT=$'%{\e[1A%}%*%{\e[1B%}'

Then I get the current time on right, and still no prompt duplication
when resizing urxvt.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-15  1:42                   ` Noam Postavsky
@ 2018-03-15  2:41                     ` Aaron Jensen
  0 siblings, 0 replies; 18+ messages in thread
From: Aaron Jensen @ 2018-03-15  2:41 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 30544

On Wed, Mar 14, 2018 at 6:42 PM, Noam Postavsky <npostavs@gmail.com> wrote:
> Not sure if I'm missing some zsh context here, but when I do that, I see
> literal "lineup" and "linedown" at the right.

Odd, not sure.

> If do instead
>
> PROMPT=$'one\ntwo'
> RPROMPT=$'%{\e[1A%}%*%{\e[1B%}'
>
> Then I get the current time on right, and still no prompt duplication
> when resizing urxvt.

Ok, perhaps there's a bug in iterm2's handling as well :) Either way,
seems that it's possible to resize w/o the unnecessary line drawing,
so now we just need to figure out what the problem in term.el is...





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-03-14 23:49           ` Noam Postavsky
  2018-03-15  0:54             ` Aaron Jensen
@ 2018-04-02  2:39             ` Noam Postavsky
  2018-04-02  5:46               ` Eli Zaretskii
  1 sibling, 1 reply; 18+ messages in thread
From: Noam Postavsky @ 2018-04-02  2:39 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 30544

Noam Postavsky <npostavs@gmail.com> writes:

> Odd.  I have urxvt here, and it seems to be able to resize both width
> and height without getting any duplicated prompts.  Could it be that zsh
> always repaints the prompt on a resize, but term.el (and iTerm for width
> adjustments) don't put point where zsh is expecting after a resize?

Okay, I edebugged term-emulate-terminal, zsh is sending the correct
escape sequences, the problem is that `term-current-row' is set to 0,
which causes \e[A to be a nop instead of moving the cursor up one row as
it should.

M-x debug-watch RET term-current-row RET reveals that the
term-set-scroll-region call sets term-current-row to 0.  This is
correct, because it does also move point to row 0.  However, after the
call is finished, term-reset-size does (goto-char point) to restore the
original point, but it doesn't reset the cached row accordingly.

So the following fixes it (possibly we should be resetting the current
column as well?).

--- i/lisp/term.el
+++ w/lisp/term.el
@@ -1167,4 +1167,5 @@ term-reset-size
       (setq term-current-column nil)
       (term-set-scroll-region 0 height)
+      (setq term-current-row nil)
       (goto-char point))))





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-04-02  2:39             ` Noam Postavsky
@ 2018-04-02  5:46               ` Eli Zaretskii
  2018-04-02 11:04                 ` Noam Postavsky
  0 siblings, 1 reply; 18+ messages in thread
From: Eli Zaretskii @ 2018-04-02  5:46 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 30544, aaronjensen

> From: Noam Postavsky <npostavs@gmail.com>
> Cc: 30544@debbugs.gnu.org,  Eli Zaretskii <eliz@gnu.org>
> Date: Sun, 01 Apr 2018 22:39:26 -0400
> 
> So the following fixes it

This is simple enough to go to emacs-26, thanks.

> (possibly we should be resetting the current column as well?).

If the column is also unknown there, yes.





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-04-02  5:46               ` Eli Zaretskii
@ 2018-04-02 11:04                 ` Noam Postavsky
  2018-04-02 19:17                   ` Aaron Jensen
  0 siblings, 1 reply; 18+ messages in thread
From: Noam Postavsky @ 2018-04-02 11:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 30544, aaronjensen

tags 30544 fixed
close 30544 26.1
quit

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Noam Postavsky <npostavs@gmail.com>
>> Cc: 30544@debbugs.gnu.org,  Eli Zaretskii <eliz@gnu.org>
>> Date: Sun, 01 Apr 2018 22:39:26 -0400
>> 
>> So the following fixes it
>
> This is simple enough to go to emacs-26, thanks.

Pushed [1: a64c11a3aa].

>> (possibly we should be resetting the current column as well?).
>
> If the column is also unknown there, yes.

I saw that term-set-scroll-region sets the other two cached values, so I
reset them as well.

[1: a64c11a3aa]: 2018-04-02 06:57:53 -0400
  Fix term.el rendering following a window resize (Bug#30544)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a64c11a3aa49121ceab79a2acc99c829d42417bd





^ permalink raw reply	[flat|nested] 18+ messages in thread

* bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
  2018-04-02 11:04                 ` Noam Postavsky
@ 2018-04-02 19:17                   ` Aaron Jensen
  0 siblings, 0 replies; 18+ messages in thread
From: Aaron Jensen @ 2018-04-02 19:17 UTC (permalink / raw)
  To: Noam Postavsky; +Cc: 30544

On Mon, Apr 2, 2018 at 4:04 AM, Noam Postavsky <npostavs@gmail.com> wrote:
> I saw that term-set-scroll-region sets the other two cached values, so I
> reset them as well.

Thank you!





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-04-02 19:17 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-20  2:07 bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times) Aaron Jensen
2018-02-20 20:25 ` Glenn Morris
2018-03-14 15:59 ` Aaron Jensen
2018-03-14 17:34   ` Eli Zaretskii
2018-03-14 18:08     ` Aaron Jensen
2018-03-14 18:30       ` Eli Zaretskii
2018-03-14 20:25         ` Aaron Jensen
2018-03-14 23:49           ` Noam Postavsky
2018-03-15  0:54             ` Aaron Jensen
2018-03-15  1:06               ` Noam Postavsky
2018-03-15  1:33                 ` Aaron Jensen
2018-03-15  1:42                   ` Noam Postavsky
2018-03-15  2:41                     ` Aaron Jensen
2018-04-02  2:39             ` Noam Postavsky
2018-04-02  5:46               ` Eli Zaretskii
2018-04-02 11:04                 ` Noam Postavsky
2018-04-02 19:17                   ` Aaron Jensen
2018-03-14 18:33       ` Glenn Morris

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).