unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Newline and copy above line's indentation
Date: Tue, 03 Jul 2018 19:44:01 +0200	[thread overview]
Message-ID: <86lgasgqou.fsf@zoho.com> (raw)
In-Reply-To: mailman.3013.1530631400.1292.help-gnu-emacs@gnu.org

Robert Pluim wrote:

> I'm saying you donʼt need to move point,
> since
>
> (point-at-bol)
>
> tells you the right value.

Point has to be moved to the previous line with
(forward-line -1). Try evaluate it and see
where point ends up.

-- 
underground experts united
http://user.it.uu.se/~embe8573


  parent reply	other threads:[~2018-07-03 17:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3005.1530624947.1292.help-gnu-emacs@gnu.org>
2018-07-03 14:03 ` Newline and copy above line's indentation Emanuel Berg
2018-07-03 14:37   ` Emanuel Berg
2018-07-03 14:49     ` Robert Pluim
     [not found]     ` <mailman.3009.1530629379.1292.help-gnu-emacs@gnu.org>
2018-07-03 14:56       ` Emanuel Berg
2018-07-03 15:23         ` Robert Pluim
     [not found]         ` <mailman.3013.1530631400.1292.help-gnu-emacs@gnu.org>
2018-07-03 17:44           ` Emanuel Berg [this message]
2018-07-03 16:03 ` HASM
2018-07-03 17:45   ` Emanuel Berg
2018-07-03 21:07     ` HASM
2018-07-03 21:39       ` Emanuel Berg
2018-07-03 22:16         ` HASM
2018-07-04  0:25           ` Dan Espen
2018-07-04  0:58             ` HASM
2018-07-04 13:45               ` Dan Espen
2018-07-04 15:26                 ` HASM
2018-07-23 23:32   ` Stefan Monnier
2018-07-03 12:40 Vas Vas
2018-07-03 14:21 ` Robert Pluim
2018-07-03 18:59 ` Eli Zaretskii

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=86lgasgqou.fsf@zoho.com \
    --to=moasen@zoho.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).