From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: yegupov@gmail.com Newsgroups: gmane.emacs.help Subject: Free cursor movement beyond the end of line Date: Sun, 13 May 2018 23:32:37 -0700 (PDT) Message-ID: <2871cce1-65e5-45ad-b618-7a5682112170@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1526279901 25056 195.159.176.226 (14 May 2018 06:38:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 May 2018 06:38:21 +0000 (UTC) Injection-Date: Mon, 14 May 2018 06:32:37 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 14 08:38:17 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fI77g-0006Ra-IS for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2018 08:38:16 +0200 Original-Received: from localhost ([::1]:43177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fI79n-0004KU-DW for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2018 02:40:27 -0400 X-Received: by 2002:a0c:8871:: with SMTP id 46-v6mr14659130qvm.18.1526279557752; Sun, 13 May 2018 23:32:37 -0700 (PDT) X-Received: by 2002:a1f:9686:: with SMTP id y128-v6mr1104177vkd.7.1526279557575; Sun, 13 May 2018 23:32:37 -0700 (PDT) Original-Path: usenet.stanford.edu!x25-v6no7324895qto.0!news-out.google.com!k3-v6ni544qtj.0!nntp.google.com!x25-v6no7324885qto.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=77.120.147.200; posting-account=ceKRzwoAAAD7xw9JyzIUzEUK_VZ7exfN Original-NNTP-Posting-Host: 77.120.147.200 Original-Xref: usenet.stanford.edu gnu.emacs.help:222607 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116726 Archived-At: Hello. 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). For example when I edit the text: ------------------------------ this is my long line| short line this is my other long line ------------------------------ What I need: - when press "down" key cursor should keep position at column 21: ------------------------------ this is my long line short line | this is my other long line ------------------------------ - buffer shouldn't be modified because of cursor movement only, no need to surprising trailing spaces; - keys like C-e should move cursor to the REAL end of line: ------------------------------ this is my long line short line| this is my other long line ------------------------------ - this should be worked ok with visual-line-mode mode too Notes - set-goal-column seems a something close about that but not exactly - artist-mode and picture-mode unfortunatelly add extra spaces and has surprice behavour in visual-line-mode Is there a way to solve somehow this problem in emacs?