From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.help Subject: SOLVED (was: Re: how to use C-+ in isearch+?) Date: Wed, 6 Feb 2013 15:49:51 +0100 Message-ID: <20130206144951.GA1346@boo.workgroup> References: <87obg0e7gg.fsf@googlemail.com> <87y5f37q0t.fsf@bzg.ath.cx> <876226tt19.fsf@web.de> <87r4kuquhm.fsf@gmail.com> <7B8FEE3403FC47C5BFA33D0F7A2E9ABD@us.oracle.com> <878v71tufr.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1360162273 14277 80.91.229.3 (6 Feb 2013 14:51:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2013 14:51:13 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 06 15:51:32 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U36LQ-0003YD-Sm for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Feb 2013 15:51:29 +0100 Original-Received: from localhost ([::1]:50236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U36L8-0001Ta-09 for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Feb 2013 09:51:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U36Kt-0001F6-5i for help-gnu-emacs@gnu.org; Wed, 06 Feb 2013 09:50:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U36Km-00048R-BN for help-gnu-emacs@gnu.org; Wed, 06 Feb 2013 09:50:55 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:64730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U36Kl-00047P-OV for help-gnu-emacs@gnu.org; Wed, 06 Feb 2013 09:50:48 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.28]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0M5rJ1-1Us34B2c5R-00xrto for ; Wed, 06 Feb 2013 15:50:46 +0100 Original-Received: (qmail invoked by alias); 06 Feb 2013 14:50:46 -0000 Original-Received: from p50865BE0.dip.t-dialin.net (EHLO boo.workgroup) [80.134.91.224] by mail.gmx.net (mp028) with SMTP; 06 Feb 2013 15:50:46 +0100 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX19XA/d23SxXG0Y5LIIJJORMCqJoDPOiKegPTpsmik COvtiu81AVNa7q Original-Received: from grfz by boo.workgroup with local (Exim 4.80) (envelope-from ) id 1U36Kf-0002Js-5P; Wed, 06 Feb 2013 15:50:41 +0100 Mail-Followup-To: help-gnu-emacs Content-Disposition: inline In-Reply-To: <878v71tufr.fsf@web.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.20 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:88988 Archived-At: Hi Michael, * Michael Heerdegen [06. Feb. 2013]: >> But when I do isearch-forward-regexp (which is bound to C-s in my >> init.el) and then C-+ [1] cursor moves to the first `+' sign >> which is in an invisible part of the file (actually a drawer in >> an org file). > > Giving it a try, this works perfect for me. > > Gregor, are you sure that your keyboard is able to generate that key > event? You are right and I'm stupid for not mentioning that I use Emacs mainly in a terminal emulator.[1] No C-+ in these (at least not in rxvt-unicode). > (define-key isearch-mode-map [(control ?+)] 'isearchp-toggle-invisible) > > You may try to replace [(control ?+)] by another key and see if that > works. I tested this with `meta' instead of `control' and it now works like a charm. Thanks to you for your hint and thanks to Drew for this amazing package. Ciao, Gregor Footnotes: [1] It's so much faster and the fonts are more crisp... -- -... --- .-. . -.. ..--.. ...-.-