From: Matthew Flaschen <matthew.flaschen@gatech.edu>
To: emacs <help-gnu-emacs@gnu.org>
Subject: Re: function Qs
Date: Sat, 24 Feb 2007 23:37:57 -0500 [thread overview]
Message-ID: <45E112A5.8010305@gatech.edu> (raw)
In-Reply-To: <45E10043.1090706@gatech.edu>
[-- Attachment #1.1: Type: text/plain, Size: 758 bytes --]
Matthew Flaschen wrote:
> Drew Adams wrote:
>>> Are there more functions like this? point-min? point-end-of-line? I
>>> don't see them documented.
>> M-x apropos point
>>
>> Command `apropos' is your friend.
>>
>> The Elisp manual, not the Emacs manual, is the reference for Emacs-Lisp
>> code. All of the functions you have asked about are explained there. Both
>> manuals are available via `C-h i'.
>
> I searched apropos for point, and I can't find a point-end-of-line or
> equivalent. Is there such a function? If not, do you know a way I
> could get the full text of the current line?
I figured it out:
(buffer-substring-no-properties (line-beginning-position)
(line-end-position))
Is there a neater way?
Matt Flaschen
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next prev parent reply other threads:[~2007-02-25 4:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-24 21:07 function Qs Dan Bensen
2007-02-24 21:18 ` weber
2007-02-24 22:58 ` Dan Bensen
2007-02-24 23:50 ` Drew Adams
2007-02-25 3:19 ` Matthew Flaschen
2007-02-25 4:37 ` Matthew Flaschen [this message]
[not found] ` <mailman.68.1172373580.7795.help-gnu-emacs@gnu.org>
2007-02-25 4:43 ` james
2007-02-25 6:57 ` Matthew Flaschen
2007-02-25 15:27 ` Drew Adams
2007-02-25 15:36 ` Matthew Flaschen
2007-02-25 22:54 ` Kevin Rodgers
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=45E112A5.8010305@gatech.edu \
--to=matthew.flaschen@gatech.edu \
--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).