unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Marking squares
Date: Sat, 02 Feb 2013 10:35:19 +0200	[thread overview]
Message-ID: <83mwvnazaw.fsf@gnu.org> (raw)
In-Reply-To: <m3boc3fn34.fsf@stories.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 02 Feb 2013 03:47:59 +0100
> 
> I'm contemplating implementing a very, very simple image editor in
> Emacs, which would mainly just allow image cropping.  To do that, it
> would be nice if `mouse-drag-region' would allow highlighting a "box"
> instead of the lines between mark and the mouse position.

I'm confused: "lines between mark and the mouse position" seems to
refer to region highlighting, whereas you are talking about
highlighting parts of an image, I think.  An image is a single line
for region marking purposes, so I wonder how these two issues could be
related.  What am I missing?

> So my question is -- does Emacs have an option of highlighting
> rectangles instead of "the region"?  It might be useful when using
> commands like `C-x r k', too, perhaps.

Rectangles of text or rectangles of pixels?  Emacs doesn't normally
work at pixel level, except at the lowest level of its
display-specific back end, like xterm.c and w32term.c, which I doubt
is relevant to what you are looking for.



      parent reply	other threads:[~2013-02-02  8:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-02  2:47 Marking squares Lars Magne Ingebrigtsen
2013-02-02  3:06 ` Xue Fuqiao
2013-02-02  8:08   ` Xue Fuqiao
2013-02-02  8:37   ` Eli Zaretskii
2013-02-02 10:02     ` Xue Fuqiao
2013-02-02  7:06 ` Thierry Volpiatto
2013-02-02  8:26 ` joakim
2013-02-02  8:35 ` Eli Zaretskii [this message]

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=83mwvnazaw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).