unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Eshell automatically inserting spurious tabs
Date: Tue, 28 Jun 2022 19:00:10 +0200	[thread overview]
Message-ID: <871qv8wwmv.fsf@gmail.com> (raw)

Hi all!

I noticed that, when using eshell, sometimes Emacs inserts some non
requested tabs. For instance, let's say I have:

~ $ <------------------------------>
    I can type her normally

But let's say I'm passing a parameter between quotes, like 'echo
"something"'. When I type the quotes ("), after half a second the point
jumps ahead like if I pressed tab:

~ $ echo "   
              ^
              point has automatically moved here

Since it happens in some specific situations (like inside quotes) and it
has a defined timeout (0.5 s), I'd say it's triggered by some Emacs
mode. Can you help me in figuring out which one it's causing this, and
how to remove it?

Note: when I launch 'emacs -q', this issue is not present, and giving
'C-h m' gives:
--------------
Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption
Blink-Cursor Electric-Indent Eshell-Arg Eshell-Cmpl Eshell-Hist
Eshell-Pred Eshell-Proc Eshell-Prompt File-Name-Shadow Font-Lock
Global-Eldoc Global-Font-Lock Indent-Tabs Line-Number Menu-Bar
Mouse-Wheel Shell-Dirtrack Show-Paren Tool-Bar Tooltip Transient-Mark

(Information about these minor modes follows the major mode info.)

Eshell mode defined in ‘esh-mode.el’:
Emacs shell interactive mode.

This mode runs the hook ‘eshell-mode-hook’, as the final or
penultimate step during initialization.
----------------
Instead, my normal setup gives:
----------------
Enabled minor modes: Ace-Window-Display Auto-Composition
Auto-Compression Auto-Encryption Blink-Cursor Corfu Dap
Dap-Auto-Configure Dap-Tooltip Dap-Ui Dap-Ui-Many-Windows
Electric-Indent Eshell-Arg Eshell-Cmpl Eshell-Hist Eshell-Pred
Eshell-Proc Eshell-Prompt File-Name-Shadow Font-Lock Global-Corfu
Global-Eldoc Global-Flycheck Global-Font-Lock Global-Tree-Sitter
Indent-Tabs Line-Number Menu-Bar Mouse-Wheel Org-Roam-Db-Autosync
Projectile Savehist Shell-Dirtrack Show-Paren Tooltip Transient-Mark
Treemacs-Filewatch Treemacs-Follow Treemacs-Fringe-Indicator
Treemacs-Git Vertico Which-Key Windmove Yas Yas-Global

(Information about these minor modes follows the major mode info.)

Eshell mode defined in ‘esh-mode.el’:
Emacs shell interactive mode.

This mode runs the hook ‘eshell-mode-hook’, as the final or
penultimate step during initialization.
----------------------

Thanks for your patience!

Alessandro



                 reply	other threads:[~2022-06-28 17:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=871qv8wwmv.fsf@gmail.com \
    --to=alessandro.bertulli96@gmail.com \
    --cc=help-gnu-emacs@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.
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).