unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [elpa] 01/01: [xpm int] Use cl-* names; drop ‘cl’ requirement.
       [not found] ` <E1WvQAa-0003bv-OE@vcs.savannah.gnu.org>
@ 2014-06-13 14:16   ` Stefan Monnier
  2014-06-18 16:42     ` Thien-Thi Nguyen
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2014-06-13 14:16 UTC (permalink / raw)
  To: emacs-devel

> -                              (- p span) p (list* 'intangible t
> -                                                  more)))))
> +                              (- p span) p (cl-list*
> +                                            'intangible t
> +                                            more)))))

`intangible' is a bad property which should die.
Can you explain what you need it for?


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [elpa] 01/01: [xpm int] Use cl-* names; drop ‘cl’ requirement.
  2014-06-13 14:16   ` [elpa] 01/01: [xpm int] Use cl-* names; drop ‘cl’ requirement Stefan Monnier
@ 2014-06-18 16:42     ` Thien-Thi Nguyen
  2014-06-18 18:43       ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Thien-Thi Nguyen @ 2014-06-18 16:42 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]

() Stefan Monnier <monnier@iro.umontreal.ca>
() Fri, 13 Jun 2014 10:16:42 -0400

   `intangible' is a bad property which should die.
   Can you explain what you need it for?

Sure.  In a fit of rabid laziness, i decided to use
the output of the ‘showboard’ command, e.g.:

 = 
    A B C D E F G H J K L M N
 13 . . . . . . . . . . . . . 13
 12 . . . . . . . . . . . . . 12
 11 . . . . . . . . . . . . . 11
 10 . . . + . . + . . + . . . 10
  9 . . . . . . . . . . . . . 9
  8 . . . . . . . . . . . . . 8
  7 . . . + . . + . . + . . . 7
  6 . . . . . . . . . . . . . 6
  5 . . . . . . . . . . . . . 5     WHITE (O) has captured 0 stones
  4 . . . + . . + . . + . . . 4     BLACK (X) has captured 0 stones
  3 . . . . . . . . . . . . . 3
  2 . . . . . . . . . . . . . 2
  1 . . . . . . . . . . . . . 1
    A B C D E F G H J K L M N

directly and exercize the (then-newish) text-property
and overlay features w/ this raw text, rather than the
traditional pure-constructive approach (which is only
lame outside of Emacs, IMHO).  The ‘intangible’ property
is placed on the "whitespace" columns between A, B, etc
such that cursor motion never stops on those positions.

Is there a better way to achieve this nowadays?

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [elpa] 01/01: [xpm int] Use cl-* names; drop ‘cl’ requirement.
  2014-06-18 16:42     ` Thien-Thi Nguyen
@ 2014-06-18 18:43       ` Stefan Monnier
  2014-07-23 15:31         ` Thien-Thi Nguyen
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2014-06-18 18:43 UTC (permalink / raw)
  To: emacs-devel

> lame outside of Emacs, IMHO).  The ‘intangible’ property
> is placed on the "whitespace" columns between A, B, etc
> such that cursor motion never stops on those positions.
> Is there a better way to achieve this nowadays?

You might want to check revision 115224 where I changed gomoku.el to
avoid `intangible' properties.

You'll see there's no special support for it, so it's no simpler than
using `intangible' properties.  But `intangible' properties operate at
a very low-level so they tend to cause surprising problems because they
affect a lot more code than intended.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [elpa] 01/01: [xpm int] Use cl-* names; drop ‘cl’ requirement.
  2014-06-18 18:43       ` Stefan Monnier
@ 2014-07-23 15:31         ` Thien-Thi Nguyen
  0 siblings, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2014-07-23 15:31 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

() Stefan Monnier <monnier@iro.umontreal.ca>
() Wed, 18 Jun 2014 14:43:14 -0400

   You might want to check revision 115224 where I changed
   gomoku.el to avoid `intangible' properties.

   You'll see there's no special support for it, so it's no
   simpler than using `intangible' properties.

   But `intangible' properties operate at a very low-level
   so they tend to cause surprising problems because they
   affect a lot more code than intended.

Thanks for the tip.  I will explore dropping use of
‘intangible’ in gnugo.el (et al) in the future.

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-23 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20140613120120.13821.79283@vcs.savannah.gnu.org>
     [not found] ` <E1WvQAa-0003bv-OE@vcs.savannah.gnu.org>
2014-06-13 14:16   ` [elpa] 01/01: [xpm int] Use cl-* names; drop ‘cl’ requirement Stefan Monnier
2014-06-18 16:42     ` Thien-Thi Nguyen
2014-06-18 18:43       ` Stefan Monnier
2014-07-23 15:31         ` Thien-Thi Nguyen

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