unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: 2 character comment starter bug
Date: Thu, 24 Mar 2005 08:03:57 -0500	[thread overview]
Message-ID: <m1is3hnr1j.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <7D10EFE37E7CBF4288CAFDFAD3C7932C3466E5@msgswbmnmsp04.wellsfargo.com> (Richard G. Bielawski's message of "Wed, 23 Mar 2005 18:28:42 -0800")

>> But does it matter in such a case whether it has punctuation syntax or
>> symbol syntax?  Do you also give symbol syntax to the / 
>> directory separator as well?

> A / is an illegal character in any part of a filename on this system.
> In this language / / are most often seen as paired delimiters.

Then, what about !, @, #, $, %, ^, &, *, _, +, ,, <, > ., ?, :, ;, |, ... ?

> [#set foo [bar]] and [#set foo [#compute bar + 1]] would be required
> to accomplish the operations your examples seem to describe.
> If I see ':=' in this language I would almost certainly want it
> treated as a word.

Let me ask the question more directly, then: is "foo=bar" one token
or three?

> In this language == always begins a comment no matter where it is
> found unless a ~ precedes it.  There are no exceptions.

Yes, you made that clear in your original message.

>> The current behavior is buggy (it doesn't behave consistently between
>> things like forward-sexp, backward-sexp, and parse-partial-sexp).
>> 
>> But before someone can convince me to try and fix these bugs,  they
>> should first make a good case that the way they setup their
>> syntax-tables is well thought out.

> If the fact that the problem exists reflects the standard by
> which `well thought out' is measured you're being a pushover.

I don't understand this paragraph, sorry.  But just to make it clear: if you
read my above text, you'll note that I do not claim these are not bugs
and/or shouldn't be fixed.

> If it will remain this way for any length of time though, I do
> think it should be documented somewhere.  Even if only on a known
> problems list.

Patches welcome,


        Stefan

  reply	other threads:[~2005-03-24 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-24  2:28 2 character comment starter bug Bielawski, Richard G.
2005-03-24 13:03 ` Stefan [this message]
     [not found] <7D10EFE37E7CBF4288CAFDFAD3C7932C3466E2@msgswbmnmsp04.wellsfargo.com>
2005-03-23 23:10 ` Stefan Monnier

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m1is3hnr1j.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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.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).