all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sébastien Kirche" <sebastien.kirche.no@spam.free.fr.invalid>
Subject: Re: hide local variables in enriched mode
Date: Wed, 12 Jan 2005 10:00:19 +0100	[thread overview]
Message-ID: <m2pt0bt42k.fsf@seki.fr> (raw)
In-Reply-To: 876523gb4p.fsf@thalassa.informatimago.com

Le 11 Jan 2005, Pascal Bourguignon a dit :

> I'd try to narrow the region before ps-printing.
> This could be done automatically with something like:
> 
> 
> -*- mode: fileadapt -*-
> 
> 
> blah blah blah
> 
> 
> Local   Variables:  eval:   (let   ((start  (progn   (beginning-of-buffer)
> (forward-line  2)   (point)))  (end  ((end-of-buffer)  (re-search-backward
> "Local  Variables") (forward-line  -1) (point))))  (narrow-to-region start
> end)) End:
> 
> (Of course, you could define a function in ~/.emacs and use it in
> eval: in place of this complex expression.)

Thank you for your contribution Pascal,  but i don't like much that embedded
eval...

I think i will take a closer look  to the code provided by drkm, as it seems
that feature is not built-in.

Sébastien Kirche

      parent reply	other threads:[~2005-01-12  9:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-11 13:26 hide local variables in enriched mode Sébastien Kirche
2005-01-11 16:53 ` Pascal Bourguignon
2005-01-12  3:18   ` drkm
2005-01-12  9:02     ` Sébastien Kirche
2005-01-12  9:00   ` Sébastien Kirche [this message]

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=m2pt0bt42k.fsf@seki.fr \
    --to=sebastien.kirche.no@spam.free.fr.invalid \
    --cc=sebastien.kirche@free.fr \
    /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.