From: Tomas Abrahamsson <tab@lysator.liu.se>
To: bug-gnu-emacs@gnu.org
Subject: bug#795: Artist: patch 1 (of 2): Cut/copy menu selection bugfix
Date: Wed, 27 Aug 2008 14:49:51 +0200 [thread overview]
Message-ID: <uqr68azkpc.fsf@sellafield.lysator.liu.se> (raw)
Hi,
This is the first of two patches for
emacs/lisp/textmodes/artist.el. The patches do not depend on
each other. They fix different bugs, but they apply to the
same file.
The patch is against 1.40 of artist.el as checked out from
:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs
The patch is written entirely by me. Bug was found by me.
As far as I know, the bug has not been reported anywhere.
The bug that this patch fixes is: with the mouse, it was
impossible to select the copy and cut operations in the
menu. This patch makes it possible to do that.
Below is a ChangeLog entry and the patch itself. For the
ChangeLog entry, I looked at emacs/lisp/ChangeLog and tried to
follow the style therein. (I don't know what's the common
practice with the first line (date and name), though since
I assume it will be someone else but me who will check this
in.)
If anythning is unclear or needs more work, please contact me.
BRs
Tomas
The ChangeLog entry:
2008-08-27 Tomas Abrahamsson <tab@lysator.liu.se>
* textmodes/artist.el (artist-mt): Fixed structures for cut and
copy operations.
The patch:
Index: artist.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/artist.el,v
retrieving revision 1.40
diff -u -r1.40 artist.el
--- artist.el 12 Jun 2008 03:56:20 -0000 1.40
+++ artist.el 26 Aug 2008 23:34:05 -0000
@@ -723,14 +723,14 @@
2
artist-draw-rect
(artist-undraw-rect
- artist-t artist-cut-rect)
+ artist-t artist-cut-rect))
("cut square" cut-s "cut-s"
artist-no-arrows nil
nil nil nil
2
artist-draw-square
(artist-undraw-square
- artist-t artist-cut-square))))))
+ artist-t artist-cut-square)))))
(graphics-operation
("Copy" (("copy rectangle" copy-r "copy-r"
@@ -739,14 +739,14 @@
2
artist-draw-rect
(artist-undraw-rect
- artist-t artist-copy-rect)
+ artist-t artist-copy-rect))
("copy square" copy-s "copy-s"
artist-no-arrows nil
nil nil nil
2
artist-draw-square
(artist-undraw-square
- artist-t artist-copy-square))))))
+ artist-t artist-copy-square)))))
(graphics-operation
("Paste" (("paste" paste "paste"
next reply other threads:[~2008-08-27 12:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87y72iz7v8.fsf@cyd.mit.edu>
2008-08-27 12:49 ` Tomas Abrahamsson [this message]
2008-08-27 17:30 ` bug#795: marked as done (Artist: patch 1 (of 2): Cut/copy menu selection bugfix) Emacs bug Tracking System
2008-08-27 12:49 ` bug#794: Artist: patch 2 (of 2): Fix for args-out-of-range error Tomas Abrahamsson
2008-08-27 17:30 ` bug#794: marked as done (Artist: patch 2 (of 2): Fix for args-out-of-range error) Emacs bug Tracking System
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uqr68azkpc.fsf@sellafield.lysator.liu.se \
--to=tab@lysator.liu.se \
--cc=795@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.