all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Free cursor movement beyond the end of line
Date: Mon, 14 May 2018 08:52:15 -0400	[thread overview]
Message-ID: <jwvpo1y9zp0.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: HE1PR1001MB1292881B90F9E1CF2A9CE043869C0@HE1PR1001MB1292.EURPRD10.PROD.OUTLOOK.COM

>> There is popular text editors option "allow cursor movement end of line".
>> It was implemented in many of text editors long time ago.
>>
>> But it seems that it's absent in emacs (yes, I tried set-goal-column,
>> picture-mode, artist-mode).

It's called quarter-plane-mode and is available from GNU ELPA.
But don't expect miracles from it.

>>  - artist-mode and picture-mode unfortunatelly add extra spaces and has
>> surprice behavour in visual-line-mode

The extra spaces should normally be deleted upon save, so they should
not make a difference except for display line-wrapping
(quarter-plane-mode uses the same technique of inserting&removing spaces
as needed; actually uses code from picture-mode internally).

> I recently discovered rectangle-mode -- maybe it does what you want.

Indeed, rectangle-mode has some code that does something related, but it
only handles the part of *displaying* the cursor where there's no actual
text, it doesn't try to let you then insert text at that position.


        Stefan




  reply	other threads:[~2018-05-14 12:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-14  6:32 Free cursor movement beyond the end of line yegupov
2018-05-14  8:16 ` Marcin Borkowski
2018-05-14  8:16 ` Daniel Herzig
2018-05-14 12:52   ` Stefan Monnier [this message]
2018-05-14 15:21     ` Eli Zaretskii
2018-05-15  1:27       ` Stefan Monnier
2018-05-14 16:31 ` yegupov
2018-05-17 14:50   ` Stefan Monnier

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=jwvpo1y9zp0.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.
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.