* Re: /srv/bzr/emacs/trunk r103471: Add a menu-bar entry for Artist mode.
[not found] <E1PudVw-0000gf-J6@internal.in.savannah.gnu.org>
@ 2011-03-03 6:34 ` Leo
2011-03-05 19:15 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2011-03-03 6:34 UTC (permalink / raw)
To: emacs-devel
On 2011-03-02 11:48 +0800, Chong Yidong wrote:
> ------------------------------------------------------------
> revno: 103471
> committer: Chong Yidong <cyd@stupidchicken.com>
> branch nick: trunk
> timestamp: Tue 2011-03-01 22:48:01 -0500
> message:
> Add a menu-bar entry for Artist mode.
>
> * lisp/textmodes/artist.el (artist-curr-go): Default to pen-line.
> (artist-select-op-pen-line): New function.
> (artist-menu-map): New variable.
> (artist-mode-map): Add a menu to the menu-bar.
[...]
Using this patch with Emacs-23 (GNU Emacs 23.3.1
x86_64-apple-darwin10.6.0, sorry I haven't had Emacs-24 yet.), I can get
an error when doing this:
1. Emacs -q
2. M-x artist-mode
3. From the artist menu choose Poly-line and draw a line
4. From the artist menu choose Spray can
Then I get this backtrace:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
artist-endpoint-get-x(nil)
artist-set-arrow-points-for-poly(([46 13]))
artist-mouse-draw-poly((down-mouse-1 (#<window 3 on *scratch*> 288 (106 . 195) 374939930 nil 288 (13 . 13) nil (106 . 0) (8 . 15))))
artist-down-mouse-1((down-mouse-1 (#<window 3 on *scratch*> 288 (106 . 195) 374939930 nil 288 (13 . 13) nil (106 . 0) (8 . 15))))
call-interactively(artist-down-mouse-1 nil nil)
Cheers,
Leo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /srv/bzr/emacs/trunk r103471: Add a menu-bar entry for Artist mode.
2011-03-03 6:34 ` /srv/bzr/emacs/trunk r103471: Add a menu-bar entry for Artist mode Leo
@ 2011-03-05 19:15 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-03-05 19:15 UTC (permalink / raw)
To: Leo; +Cc: emacs-devel
Leo <sdl.web@gmail.com> writes:
>> * lisp/textmodes/artist.el (artist-curr-go): Default to pen-line.
>> (artist-select-op-pen-line): New function.
>> (artist-menu-map): New variable.
>> (artist-mode-map): Add a menu to the menu-bar.
>
> Using this patch with Emacs-23 (GNU Emacs 23.3.1
> x86_64-apple-darwin10.6.0, sorry I haven't had Emacs-24 yet.), I can get
> an error when doing this:
>
> 1. Emacs -q
> 2. M-x artist-mode
> 3. From the artist menu choose Poly-line and draw a line
> 4. From the artist menu choose Spray can
It's not an error with the patch; if you use the equivalent keyboard
commands, the same error pops up. It seems to be a problem with the
implementation of artist-mode's poly-line operation. I'll take a look
when I have the time.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-05 19:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <E1PudVw-0000gf-J6@internal.in.savannah.gnu.org>
2011-03-03 6:34 ` /srv/bzr/emacs/trunk r103471: Add a menu-bar entry for Artist mode Leo
2011-03-05 19:15 ` Chong Yidong
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).