unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* occur and a "Special" *Occur* Buffer.
@ 2007-03-09  7:12 David Hansen
  2007-03-09 15:32 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: David Hansen @ 2007-03-09  7:12 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 230 bytes --]

Hello,

another one.  Is no one else using special display buffers?  BTW in
this case `t' seems to be the right choice for the optional
`get-buffer-window' argument, but i have to admit that i don't
really understand it ;)

David

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 675 bytes --]

*** replace.el	09 Mar 2007 06:07:54 +0100	1.253
--- replace.el	09 Mar 2007 08:09:07 +0100	
***************
*** 844,850 ****
         #'next-single-property-change)
       "No more matches")
      ;; In case the *Occur* buffer is visible in a nonselected window.
!     (set-window-point (get-buffer-window (current-buffer)) (point))
      (occur-mode-goto-occurrence)))
  \f
  (defface match
--- 844,850 ----
         #'next-single-property-change)
       "No more matches")
      ;; In case the *Occur* buffer is visible in a nonselected window.
!     (set-window-point (get-buffer-window (current-buffer) t) (point))
      (occur-mode-goto-occurrence)))
  \f
  (defface match

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-28  0:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09  7:12 occur and a "Special" *Occur* Buffer David Hansen
2007-03-09 15:32 ` Stefan Monnier
2007-03-26  2:32   ` David Hansen
2007-03-26 15:10     ` Stefan Monnier
2007-03-27  4:17       ` David Hansen
2007-03-28  0:54         ` Stefan Monnier

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).