From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Re: function Qs Date: Sun, 25 Feb 2007 01:57:33 -0500 Message-ID: <45E1335D.70600@gatech.edu> References: <1172378591.570457.233540@q2g2000cwa.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0826596194==" X-Trace: sea.gmane.org 1172386679 26540 80.91.229.12 (25 Feb 2007 06:57:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Feb 2007 06:57:59 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 25 07:57:53 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLDKT-0000HZ-0o for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2007 07:57:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLDKS-0002ET-SA for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2007 01:57:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HLDKF-0002DI-OA for help-gnu-emacs@gnu.org; Sun, 25 Feb 2007 01:57:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HLDKD-00028K-CC for help-gnu-emacs@gnu.org; Sun, 25 Feb 2007 01:57:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLDKD-00028E-AA for help-gnu-emacs@gnu.org; Sun, 25 Feb 2007 01:57:37 -0500 Original-Received: from deliverator6.gatech.edu ([130.207.165.168]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1HLDKD-0000fU-1S for help-gnu-emacs@gnu.org; Sun, 25 Feb 2007 01:57:37 -0500 Original-Received: from deliverator6.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 3E6C0198A for ; Sun, 25 Feb 2007 01:57:36 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx4.gatech.edu (mailprx4.prism.gatech.edu [130.207.171.18]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator6.gatech.edu (Postfix) with ESMTP id 29EB11977 for ; Sun, 25 Feb 2007 01:57:36 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [128.61.73.81] (r73h81.res.gatech.edu [128.61.73.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx4.gatech.edu, sender=n/a) by mailprx4.gatech.edu (Postfix) with ESMTP id F27082144 for ; Sun, 25 Feb 2007 01:57:34 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.9 (X11/20070104) In-Reply-To: <1172378591.570457.233540@q2g2000cwa.googlegroups.com> X-Enigmail-Version: 0.94.2.0 X-detected-kernel: Solaris 9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41454 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0826596194== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig38134F41A6D5423A42C8F336" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig38134F41A6D5423A42C8F336 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable james wrote: > On Feb 24, 9:19 pm, Matthew Flaschen > wrote: >> 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? >> >> Matthew Flaschen >=20 > apropos only searches interactive functions (those that can be called > by M-x) by default... but if you give it a parameter: Yes, I figured that out myself, and just changed it by setting apropos-do-all (non-interactive functions are kind of important when you're coding elisp). > Looks like what you're looking for is point-at-bol and point-at-eol: >=20 > (setq line-string > (buffer-substring (point-at-bol) (point-at-eol))) Thanks, I ended up using the unaliased versions of those (however, that method will copy text properties into the string, which may not be what you want). Matthew Flaschen --------------enig38134F41A6D5423A42C8F336 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF4TNiQ5LSyju97VkRAqQgAKCbPNvlbSj27p+7bwgQFlXcg+oo7wCgmu7Z qmznnJiq9dgcBj6AC+22Tu0= =Fft0 -----END PGP SIGNATURE----- --------------enig38134F41A6D5423A42C8F336-- --===============0826596194== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0826596194==--