X-Loop: help-debbugs@HIDDEN Subject: bug#8130: 23.2; transient-rectangle-mode Resent-From: Andrea Crotti <andrea.crotti.0@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 27 Feb 2011 13:14:01 +0000 Resent-Message-ID: <handler.8130.B.129881239225672 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 8130 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8130 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.129881239225672 (code B ref -1); Sun, 27 Feb 2011 13:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Feb 2011 13:13:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1PtgQx-0006fz-Dx for submit <at> debbugs.gnu.org; Sun, 27 Feb 2011 08:13:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <andrea.crotti.0@HIDDEN>) id 1PteuF-0002mZ-7r for submit <at> debbugs.gnu.org; Sun, 27 Feb 2011 06:35:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrea.crotti.0@HIDDEN>) id 1Pteu8-0004UG-M5 for submit <at> debbugs.gnu.org; Sun, 27 Feb 2011 06:35:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:35593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <andrea.crotti.0@HIDDEN>) id 1Pteu8-0004UC-Jy for submit <at> debbugs.gnu.org; Sun, 27 Feb 2011 06:35:12 -0500 Received: from [140.186.70.92] (port=47125 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pteu7-0000mo-Nq for bug-gnu-emacs@HIDDEN; Sun, 27 Feb 2011 06:35:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrea.crotti.0@HIDDEN>) id 1Pteu6-0004Tv-TP for bug-gnu-emacs@HIDDEN; Sun, 27 Feb 2011 06:35:11 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:33096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <andrea.crotti.0@HIDDEN>) id 1Pteu6-0004Tp-IJ for bug-gnu-emacs@HIDDEN; Sun, 27 Feb 2011 06:35:10 -0500 Received: by fxm5 with SMTP id 5so3491464fxm.0 for <bug-gnu-emacs@HIDDEN>; Sun, 27 Feb 2011 03:35:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:message-id:from:to:subject; bh=/e4Bo1XV3PSCLD7adzuU2H6gR/5tPNT0HT68dElKhlc=; b=bbkHn9Mfs8iPGO1CmaG2PgLFKdVyz6UA2LNwA0BSaRdIzE6CpQGAL2LK5x3pb8Zl68 4sI4CiuICXb9R24JzuMjE0D2YUnwPTkrarQCE6aM+vE9Av3pPx2OUiGKAfOr6+a+764u GVZ/FT7e3uhPfGDV1wM7PgVEAarGyf+iOloLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:from:to:subject; b=NbOig4DzSIOXFExynlBV/EKuh9OV8B5uyjkiGlndUzY9+RQ4BkOQ5koOa3jB2tnYI2 j/EtYm6P6sjp4S5BWTXsVdaJ5xsaAfCKFzvPe/r8yORXemcpuU2NQbwqFLFk5uE3UktI 0BSmS9NX/2s9PH8YGj8vzIhWhx76kG2mkUukQ= Received: by 10.223.104.145 with SMTP id p17mr4980164fao.105.1298806509721; Sun, 27 Feb 2011 03:35:09 -0800 (PST) Received: from ip1-201.halifax.rwth-aachen.de (ip1-201.halifax.RWTH-Aachen.DE [137.226.108.201]) by mx.google.com with ESMTPS id n2sm1056831fam.28.2011.02.27.03.35.08 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Feb 2011 03:35:09 -0800 (PST) Date: Sun, 27 Feb 2011 12:35:08 +0100 Message-Id: <m1ei6tsob7.fsf@HIDDEN> From: Andrea Crotti <andrea.crotti.0@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Sun, 27 Feb 2011 08:13:10 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.9 (-----) I would like to propose transient-rectangle-mode. Working with rectangles sometimes is a bit hard to understand what exactly the boundaries of the rectangle are. My idea was to give a slightly different face to the part of the buffer which is highlighted by transient-mode and also in the current rectangle. There are other modes for rectangle selection (cua-selection-mode for example) but they involve using a different key combination, while with transient-rectangle-mode I would like to use the same selection mechanism. Thanks, Andrea Crotti
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Andrea Crotti <andrea.crotti.0@HIDDEN> Subject: bug#8130: Acknowledgement (23.2; transient-rectangle-mode) Message-ID: <handler.8130.B.129881239225672.ack <at> debbugs.gnu.org> References: <m1ei6tsob7.fsf@HIDDEN> X-Gnu-PR-Message: ack 8130 X-Gnu-PR-Package: emacs Reply-To: 8130 <at> debbugs.gnu.org Date: Sun, 27 Feb 2011 13:14:02 +0000 Thank you for filing a new bug report with GNU. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 8130 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 8130: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8130 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#8130: 23.2; transient-rectangle-mode Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 28 Feb 2011 03:31:02 +0000 Resent-Message-ID: <handler.8130.B8130.129886383516335 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 8130 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andrea Crotti <andrea.crotti.0@HIDDEN> Cc: 8130 <at> debbugs.gnu.org Received: via spool by 8130-submit <at> debbugs.gnu.org id=B8130.129886383516335 (code B ref 8130); Mon, 28 Feb 2011 03:31:02 +0000 Received: (at 8130) by debbugs.gnu.org; 28 Feb 2011 03:30:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Pttog-0004FQ-GB for submit <at> debbugs.gnu.org; Sun, 27 Feb 2011 22:30:34 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <monnier@HIDDEN>) id 1Pttoe-0004FF-Fa for 8130 <at> debbugs.gnu.org; Sun, 27 Feb 2011 22:30:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAMOlak1FxKsT/2dsb2JhbACmQ3W6TIVhBIUQj18 X-IronPort-AV: E=Sophos;i="4.62,237,1297054800"; d="scan'208";a="93759174" Received: from 69-196-171-19.dsl.teksavvy.com (HELO ceviche.home) ([69.196.171.19]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 27 Feb 2011 22:30:26 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 862A0660D6; Sun, 27 Feb 2011 22:30:26 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvfwr86dnv.fsf-monnier+emacs@HIDDEN> References: <m1ei6tsob7.fsf@HIDDEN> Date: Sun, 27 Feb 2011 22:30:26 -0500 In-Reply-To: <m1ei6tsob7.fsf@HIDDEN> (Andrea Crotti's message of "Sun, 27 Feb 2011 12:35:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.1 (--) > I would like to propose transient-rectangle-mode. Working with > rectangles sometimes is a bit hard to understand what exactly the > boundaries of the rectangle are. Yes, that would be good. I think the best way to go about doing it is to move the highlighting of the region to Elisp code. One element to doing it would be to add a pre-redisplay-hook of some sort which could update a "region overlay" (move its beg and end to region-beginning and region-end), at which point it should be reasonably easy to make the region appear any other way (e.g. as a rectangle or a combination of the two as you suggest). Stefan
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.