emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [feature request] startup variable for link display
Date: Tue, 9 Aug 2022 22:21:53 +0700	[thread overview]
Message-ID: <tctu2j$ap1$1@ciao.gmane.io> (raw)
In-Reply-To: <87bkst1nfl.fsf@ucl.ac.uk>

On 09/08/2022 21:50, Fraga, Eric wrote:
> 
> Once I've loaded an org file, I can
> 
>     M-x org-toggle-link-display RET.
> 
> but I would like certain files to start up with links displayed.
> 
> If not already possible, it would be nice to either set a file local
> variable or have, say:
> 
> #+startup: displaylinks

Is it possible to use setter function for the defcustom to make the 
following work?

# Local Variables:
# org-link-descriptive: nil
# End:

Taking into account recent attempt of early setting of local variables 
some complications may ruin such idea. The setter is hardly an 
appropriate place for (org-restart-font-lock), but perhaps it may be 
skipped during loading.



  reply	other threads:[~2022-08-09 15:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 14:50 [feature request] startup variable for link display Fraga, Eric
2022-08-09 15:21 ` Max Nikulin [this message]
2022-08-09 15:46   ` Fraga, Eric
2022-08-09 16:31     ` Max Nikulin
2022-08-09 17:03       ` Fraga, Eric
2023-12-22 12:07 ` [PATCH] " Ihor Radchenko
2023-12-22 16:06   ` Rudolf Adamkovič
2023-12-22 16:14     ` Ihor Radchenko
2024-01-22 13:03   ` Ihor Radchenko
2024-06-20 13:50     ` Rudolf Adamkovič

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='tctu2j$ap1$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).