emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alessandro Bertulli <alessandro.bertulli96@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Eshell automatically inserting spurious tabs
Date: Fri, 24 Jun 2022 15:52:39 +0200	[thread overview]
Message-ID: <87wnd6p37f.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-24 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 13:52 Alessandro Bertulli [this message]
2022-06-25  5:38 ` Eshell automatically inserting spurious tabs Ihor Radchenko
2022-06-28 16:34   ` Alessandro Bertulli

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87wnd6p37f.fsf@gmail.com \
    --to=alessandro.bertulli96@gmail.com \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).