From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: b4283@itsuwa.org Newsgroups: gmane.emacs.bugs Subject: bug#21957: 24.5; Make occur search within regions when there is one Date: Thu, 19 Nov 2015 14:39:37 +0800 Message-ID: <87si42sdau.fsf@ipass-lix01.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447916605 1273 80.91.229.3 (19 Nov 2015 07:03:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2015 07:03:25 +0000 (UTC) To: 21957@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 19 08:03:12 2015 Return-path: Envelope-to: geb-bug-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 1ZzJFO-0005xx-Te for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Nov 2015 08:03:11 +0100 Original-Received: from localhost ([::1]:39927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzJFO-0006vl-33 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Nov 2015 02:03:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzJFK-0006vU-Fk for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 02:03:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzJFG-00032b-EF for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 02:03:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzJFG-00032W-AY for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 02:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZzJFG-0003E2-3K for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 02:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: b4283@itsuwa.org Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2015 07:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144791653112332 (code B ref -1); Thu, 19 Nov 2015 07:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Nov 2015 07:02:11 +0000 Original-Received: from localhost ([127.0.0.1]:44126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzJEQ-0003Cq-Kc for submit@debbugs.gnu.org; Thu, 19 Nov 2015 02:02:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48475) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzJEO-0003Ci-Ug for submit@debbugs.gnu.org; Thu, 19 Nov 2015 02:02:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzJEN-0002vj-Fw for submit@debbugs.gnu.org; Thu, 19 Nov 2015 02:02:08 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35209) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzJEN-0002ve-DF for submit@debbugs.gnu.org; Thu, 19 Nov 2015 02:02:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzJEM-0006sD-7L for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 02:02:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzJEI-0002vK-5x for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 02:02:06 -0500 Original-Received: from [128.199.246.141] (port=39553 helo=itsuwa.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzJEH-0002sw-Qc for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 02:02:02 -0500 Original-Received: from 125-227-241-199.hinet-ip.hinet.net ([125.227.241.199] helo=ipass-lix01) by itsuwa.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZzIsx-0004hB-1W for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 14:39:59 +0800 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108901 Archived-At: This is a wish request. The current occur implementation doesn't include a `region' version which search only within the current region mark by user, instead it operates on the entire buffer. It would come in handy if occur searchs within regions as well. Such behavior is desired, for example, when listing the occurances of a symbol in the body of a function definition. In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis Windowing system distributor `The X.Org Foundation', version 11.0.11704000 System Description: Arch Linux Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LC_CTYPE: zh_TW.UTF-8 value of $LANG: zh_TW.UTF-8 value of $XMODIFIERS: @im=gcin locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: shell-dirtrack-mode: t nyan-mode: t global-linum-mode: t linum-mode: t ido-everywhere: t show-paren-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Load-path shadows: Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils shell pcomplete grep+ grep compile comint ansi-color etags ring misearch multi-isearch cc-langs cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs smooth-scrolling vc-git quail help-mode jka-compr expand-region text-mode-expansions er-basic-expansions thingatpt expand-region-core expand-region-custom nyan-mode buffer-move linum edmacro kmacro cl-loaddefs cl-lib ido xemacs-theme paren delsel cus-start cus-load windmove afternoon-theme-autoloads cherry-blossom-theme-autoloads colorsarenice-theme-autoloads geiser-autoloads helm-autoloads js2-mode-autoloads info easymenu php-mode-autoloads rust-mode-autoloads advice help-fns toml-mode-autoloads package epg-config time-date china-util tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 727609 127367) (symbols 48 27690 0) (miscs 40 1313 683) (strings 32 121297 25891) (string-bytes 1 1561851) (vectors 16 91267) (vector-slots 8 1181120 133080) (floats 8 89 446) (intervals 56 7376 3100) (buffers 960 23) (heap 1024 75181 2588))