unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Shyam Nath <shyam@shyam.id.au>
To: "help-gnu-emacs" <help-gnu-emacs@gnu.org>
Subject: Re: Is this a bug, the esoteric Elisp way?
Date: Wed, 11 Sep 2019 04:41:39 +1000	[thread overview]
Message-ID: <16d1c7b33db.e1bef1ec686755.5085069733670395488@shyam.id.au> (raw)
In-Reply-To: <16d1c400080.ecf1fcbb676917.8334134485677904590@shyam.id.au>

PS:



I just figured it out; it's the Elisp way!



/^;[^;]/ is not the Elisp way ∵ *scratch* only has /^;;/, and there's some esoteric law about /[^;];[^;]/ only being inlined after an instruction, reminiscent of the syntax of C; 'tis the UNIX way, reminding us the Elisp Machine Accumulates C Supplements.



So `(setq electric-indent-mode nil)` disables it, and I thought it also disables all tabbing; this seems disabled in Elisp, but not plain text files, and http://ergoemacs.org/emacs/emacs_tabs_space_indentation_setup.html patches it. The documentation for electric-indent-mode says "If called from Lisp, enable the mode if ARG is omitted or nil.", but nil disables it; /implementation|typographical/ bug. Someone at #emacs mentioned electric-indent-mode, but my browser crashed, and webchat doesn't have private logging (into
 web storage on the client side; please make this happen, but I won't 
need it when I learn ERC; which hopefully shouldn't be long from now).



Anyway, this is probably a bug; goto `emacs -Q -nw`, type ";\t", and it indents the semicolon (alot); how do I stop this?



---- On Wed, 11 Sep 2019 03:36:59 +1000 Shyam Nath <shyam@shyam.id.au> wrote ----



🖖 Hello World,



Goto `emacs -Q -nw`, type ";\r", or ";\n", and it indents the semicolon (alot); how do I stop this?



LIVE LONG AND PROSPER \V/,
AGENT S.
🕴
Migrating Infestive Bugs !!


  parent reply	other threads:[~2019-09-10 18:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-10 17:36 Is this a bug, the esoteric Elisp way? Shyam Nath
2019-09-10 18:06 ` Eli Zaretskii
2019-09-10 18:22 ` Noam Postavsky
2019-09-10 18:44   ` Shyam Nath
2019-09-10 18:41 ` Shyam Nath [this message]
2019-09-10 19:10   ` Noam Postavsky
2019-09-10 19:43     ` Shyam Nath
2019-09-10 19:48       ` Noam Postavsky
2019-09-11  5:18         ` shyam

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=16d1c7b33db.e1bef1ec686755.5085069733670395488@shyam.id.au \
    --to=shyam@shyam.id.au \
    --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).