emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Victor A. Stoichita" <victor@svictor.net>
To: emacs-orgmode@gnu.org
Subject: Re: strange behavior of @ in tag searches
Date: Wed, 23 Dec 2020 11:26:30 +0100	[thread overview]
Message-ID: <87r1ngizs9.fsf@svictor.net> (raw)
In-Reply-To: <87ft3x1klb.fsf@localhost>


>> Hmm, I tried on master (9140a712f) and maint (97f1d8e34) and 
>> can't
>> trigger the issue.
>>
>> Am I overlooking some detail?

Ok, I managed to narrow it down to a particular aspect of my 
init file.
I modify the syntax table for text modes to handle the meaning of 
some characters in French. In fact, te actual modification doesn’t 
seem to matter. The following is enough to trigger the described 
behavior:

--8<---------------cut here---------------start------------->8---
(add-hook 'text-mode-hook (lambda ()
   (set-syntax-table (make-syntax-table))))
--8<---------------cut here---------------end--------------->8---

After this, org-agenda starts behaving weirdly for tags that start 
with @ and use inheritance (behavior described in my first email).

For now, I changed my tags to not use @ any more.
Are there other aspects that I might miss if I alter the syntax 
table on ’text-mode-hook?

Victor


  reply	other threads:[~2020-12-23 10:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20 22:52 Victor A. Stoichita
2020-12-20 23:05 ` Victor A. Stoichita
2020-12-21  3:38   ` Ihor Radchenko
2020-12-22 22:18     ` Kyle Meyer
2020-12-22 23:34       ` Ihor Radchenko
2020-12-23 10:26         ` Victor A. Stoichita [this message]
2020-12-24  2:56           ` Ihor Radchenko
2020-12-24  8:21             ` Victor A. Stoichita

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=87r1ngizs9.fsf@svictor.net \
    --to=victor@svictor.net \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: strange behavior of @ in tag searches' \
    /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

Code repositories for project(s) associated with this 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).