all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 23.0.60; proced.el on OSX
@ 2008-04-16  2:02 Markus Triska
  2008-04-16  3:10 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Triska @ 2008-04-16  2:02 UTC (permalink / raw)
  To: emacs-pretest-bug


This change makes "M-x proced" work for me with OSX 10.4.11:

2008-04-16  Markus Triska  <markus.triska@gmx.at>

	* proced.el (proced-command-alist): Add support for darwin.
	(proced): Add autoload cookie.

diff --git a/lisp/proced.el b/lisp/proced.el
index 743978b..9cfabd9 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -62,6 +62,9 @@
            ("emacs" ("ps" "--pid" ,(number-to-string (emacs-pid))
                      "--ppid" ,(number-to-string (emacs-pid))
                       "uwww") 2)))
+        ((memq system-type '(darwin))
+         `(("user" ("ps" "-u" ,(number-to-string (user-uid))) 2)
+           ("all" ("ps" "-Au") 2)))
         (t ; standard syntax doesn't allow us to list running processes only
          `(("user" ("ps" "-fu" ,(number-to-string (user-uid))) 2)
            ("all" ("ps" "-ef") 2))))
@@ -227,6 +230,7 @@ Return the position of the beginning of the process name, or nil if none found."
                                               proced-command-alist)))
                             "\\s-+\\S-+")))
 
+;;;###autoload
 (defun proced-mode (&optional arg)
   "Mode for displaying UNIX system processes and sending signals to them.
 Type \\[proced-mark-process] to mark a process for later commands.






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

* Re: 23.0.60; proced.el on OSX
  2008-04-16  2:02 23.0.60; proced.el on OSX Markus Triska
@ 2008-04-16  3:10 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2008-04-16  3:10 UTC (permalink / raw)
  To: Markus Triska; +Cc: emacs-pretest-bug

> This change makes "M-x proced" work for me with OSX 10.4.11:

Thanks, installed,


        Stefan




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

end of thread, other threads:[~2008-04-16  3:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-16  2:02 23.0.60; proced.el on OSX Markus Triska
2008-04-16  3:10 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.