From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Meurer Newsgroups: gmane.emacs.help Subject: Re: Mouse support does not work Date: Wed, 11 Jan 2012 05:50:56 -0700 Message-ID: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326286295 456 80.91.229.12 (11 Jan 2012 12:51:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2012 12:51:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 11 13:51:28 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkxeJ-0003HS-Ho for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2012 13:51:27 +0100 Original-Received: from localhost ([::1]:59488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkxeI-0006N9-RL for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jan 2012 07:51:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkxeC-0006LC-IX for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:51:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkxeB-0005nM-4e for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:51:20 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:45245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkxeA-0005my-To for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:51:19 -0500 Original-Received: by lagj5 with SMTP id j5so329025lag.0 for ; Wed, 11 Jan 2012 04:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=72Z9O+zweBG0LI6jranX+B9HafY0joVknIw+3S+6cbc=; b=cyy0SAvx77gJW9LTG7q+f3/pAOi7Qaej3Mdpw8NwdiLXc7JCJuzEWoHclyzBaYy7rU ud5yBu4tmlmkMrQ+0gYbDh+VdqSwja6OmNcsdsq8LI/CATstzm91PW4jxQaz5xd4CJOn LS3zGzF1ug7RD3pGcGHRC4qYwsGxzTH7/msA8= Original-Received: by 10.112.86.135 with SMTP id p7mr5112496lbz.86.1326286277143; Wed, 11 Jan 2012 04:51:17 -0800 (PST) Original-Received: by 10.112.98.133 with HTTP; Wed, 11 Jan 2012 04:50:56 -0800 (PST) In-Reply-To: <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83457 Archived-At: On Tue, Jan 10, 2012 at 4:26 PM, Peter Dyballa wrote= : > > Am 10.1.2012 um 23:50 schrieb Aaron Meurer: > >> (can the GUI version of emacs use a non-monospaced font, btw?). > > Of course. > >>>> - Is there a way to make scrolling not kill an I-search? >>> >>> I don't know! Why do you want to scroll in that "mode"? Because you wan= t to centre the found text at the bottom? Then try C-l! Or press C-l twice.= (Or three times...) >> >> I want to scroll around and see what's highlighted, not press C-s a >> bunch of times. > > Make the window higher! You could have 100 lines displayed. I already have my terminal full screen. > >> =A0Scrolling gives me visual feedback on where I am in >> the file that jump scrolling does not. > > GNU Emacs allows to display line numbers in the mode-line. Put in the cus= tomisations section of your init file: > > =A0 =A0 =A0 =A0'(column-number-mode t) I already have this. That reminds me to look for a way to always show the line numbers to the left of the text, though. I just found the answer: http://www.emacswiki.org/emacs/LineNumbers > > In GNU Emacs 23.3b the variable isearch-mode-map contains some mouse even= ts. Maybe you can add mouse-4 and mouse-5... I'll play around with this. Actually, I'm starting to feel like I should replace I-search with something else entirely, like maybe re-builder (though this can be slow in my limited experience with it). It does several things I don't like: - You have to press C-s twice to wrap around. It's not so bad, but it's confused me more than once into thinking that there were no occurrences because they were all before the cursor. - You can't edit the search buffer with editing commands. This is the most annoying. If I press M-del to delete a search word, it instead deletes the word under the cursor. If I want to delete the word, I have to repeatedly press delete. It's even worse than that, because pressing delete by default does a reverse i-search! So I have to delete until I get back to the first occurrence, and then until I delete the word. Or just C-g and restart. - As I noted, it kills the search when you scroll. I just checked, and re-builder doesn't do this. > > >> =A0This is one of the reasons I want it to scroll one line at a time. > > The others? Because it would be smoother. Scrolling in the terminal is already choppy due to the fact that you must scroll in one line increments. Again, it's all about good visual feedback. > > Maybe the developers feel like me that scrolling around is a bit imprecis= e and you likely lose the place where isearch found the text... This works fine everywhere else. For example, try it in your web browser (I can't imagine you use emacs for that too :). Search for something and scroll around. You don't "lose" the position of the current search. If you press C-s or Command-s again, it jumps right back to the next search. I just checked, and in vim, you can scroll without loosing the search. It doesn't work exactly as I said above, as pressing n gives the first occurrence on the screen instead of the next one. Aaron Meurer > > -- > Greetings > > =A0Pete > > The human animal differs from the lesser primates in his passion for list= s of "Ten Best." > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 H. All= en Smith >