From: Nicolas Petton <nicolas@petton.fr>
To: Damien Cassou <damien@cassou.me>, 26417@debbugs.gnu.org
Subject: bug#26417: 25.2; Add current-line in simple.el
Date: Wed, 03 May 2017 16:37:47 +0200 [thread overview]
Message-ID: <87h912atvo.fsf@petton.fr> (raw)
In-Reply-To: <87o9vatctm.fsf@cassou.me>
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
Damien Cassou <damien@cassou.me> writes:
> thanks for your suggestion. I applied it in attached patch. I'm
> not sure I like it though because the simplest call:
>
> (current-line)
>
> is now exactly the same as (line-number-at-pos). To get a
> different behavior, non-nil must be passed as argument:
Well, it would be the same as (line-number-at-pos (point)), yes, but I
think it's the most consistent implementation WRT `current-column'.
Cheers,
Nico
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
next prev parent reply other threads:[~2017-05-03 14:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-09 10:53 bug#26417: 25.2; Add current-line in simple.el Damien Cassou
2017-04-12 8:30 ` Nicolas Petton
2017-04-12 8:52 ` Damien Cassou
2017-04-20 9:03 ` Nicolas Petton
2017-05-03 11:11 ` Damien Cassou
2017-05-03 14:37 ` Nicolas Petton [this message]
2017-05-03 15:38 ` Damien Cassou
2017-05-03 16:07 ` Nicolas Petton
2017-05-23 10:30 ` Damien Cassou
2017-06-16 13:46 ` Damien Cassou
2017-06-16 14:30 ` Nicolas Petton
2017-06-19 9:19 ` Nicolas Petton
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=87h912atvo.fsf@petton.fr \
--to=nicolas@petton.fr \
--cc=26417@debbugs.gnu.org \
--cc=damien@cassou.me \
/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.