From: ray <hantechs@gmail.com>
Subject: Re: narrow question
Date: Wed, 27 Sep 2006 19:45:58 +0800 [thread overview]
Message-ID: <2504af190609270445m56c58be7g38dcd59a7308f8e5@mail.gmail.com> (raw)
In-Reply-To: <barmar-4A2EA1.13512326092006@comcast.dca.giganews.com>
[-- Attachment #1.1: Type: text/plain, Size: 791 bytes --]
It works, Thank you.
On 9/27/06, Barry Margolin <barmar@alum.mit.edu> wrote:
>
> In article <mailman.7430.1159275829.9609.help-gnu-emacs@gnu.org>,
> ray <hantechs@gmail.com> wrote:
>
> > I have learned to use narrow-to-region to narrow a buffer. But how can I
> > determine whether a buffer is narrowed with elisp? Thanks.
>
> (defun buffer-narrowed-p ()
> (/= (- (point-max-marker) (point-min-marker))
> (buffer-size)))
>
> --
> Barry Margolin, barmar@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
[-- Attachment #1.2: Type: text/html, Size: 1418 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:[~2006-09-27 11:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.7430.1159275829.9609.help-gnu-emacs@gnu.org>
2006-09-26 17:51 ` narrow question Barry Margolin
2006-09-27 11:45 ` ray [this message]
2006-09-27 11:53 ` David Kastrup
2006-09-26 13:03 ray
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=2504af190609270445m56c58be7g38dcd59a7308f8e5@mail.gmail.com \
--to=hantechs@gmail.com \
/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.