* How to get info about narrowing in effect?
@ 2013-06-19 16:50 Thorsten Jolitz
2013-06-19 17:06 ` Thorsten Jolitz
0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Jolitz @ 2013-06-19 16:50 UTC (permalink / raw)
To: help-gnu-emacs
Hi List,
in a program, I would like to find out about a buffer:
1. is narrowing is active?
2. what are the boundaries of the narrowed region (so to say point-min
and point-max of the narrowed region)?
but I don't find related functions in the Elisp manual.
How can I do that?
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to get info about narrowing in effect?
2013-06-19 16:50 How to get info about narrowing in effect? Thorsten Jolitz
@ 2013-06-19 17:06 ` Thorsten Jolitz
2013-06-19 17:37 ` Doug Lewan
0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Jolitz @ 2013-06-19 17:06 UTC (permalink / raw)
To: help-gnu-emacs
Thorsten Jolitz <tjolitz@gmail.com> writes:
> 1. if narrowing is active?
ok, I found `buffer-narrowed-p'
> 2. what are the boundaries of the narrowed region (so to say point-min
> and point-max of the narrowed region)?
still not sure about to find out the boundaries.
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: How to get info about narrowing in effect?
2013-06-19 17:06 ` Thorsten Jolitz
@ 2013-06-19 17:37 ` Doug Lewan
2013-06-19 18:28 ` Thorsten Jolitz
0 siblings, 1 reply; 4+ messages in thread
From: Doug Lewan @ 2013-06-19 17:37 UTC (permalink / raw)
To: Thorsten Jolitz, help-gnu-emacs@gnu.org
That's exactly what (point-min) and (point-max) do.
,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224
If the majority of cooking accidents happen in the kitchen, then why don't we just cook in other rooms?
-----Original Message-----
From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On Behalf Of Thorsten Jolitz
Sent: Wednesday, 2013 June 19 13:06
To: help-gnu-emacs@gnu.org
Subject: Re: How to get info about narrowing in effect?
Thorsten Jolitz <tjolitz@gmail.com> writes:
> 1. if narrowing is active?
ok, I found `buffer-narrowed-p'
> 2. what are the boundaries of the narrowed region (so to say point-min
> and point-max of the narrowed region)?
still not sure about to find out the boundaries.
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-19 18:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 16:50 How to get info about narrowing in effect? Thorsten Jolitz
2013-06-19 17:06 ` Thorsten Jolitz
2013-06-19 17:37 ` Doug Lewan
2013-06-19 18:28 ` Thorsten Jolitz
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.