all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* accept-process-output should return non-nil value
@ 2013-03-20  7:43 Fabrice Popineau
  2013-03-20  9:21 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Popineau @ 2013-03-20  7:43 UTC (permalink / raw)
  To: emacs-devel

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

I maybe wrong in understanding the documentation, but assuming I run the
following with a very recent "emacs -q" :

(setq ispell-process
      (apply 'start-process
             "ispell" nil
             "/usr/bin/hunspell"
            "-a"
            '("-d" "en_US" "-i" "UTF-8")))

(accept-process-output ispell-process 3)

The accept-process-output function should return a non-nil value, because
hunspell has output its banner (confirmed by associating a buffer to the
process). However I can't get it to report anything but nil, and this both
under Gnu/Linux and W32.

It doesn't work either if I set up a simple process filter.

Can someone enlighten me ?

Best regards,

-- 
Fabrice

[-- Attachment #2: Type: text/html, Size: 1106 bytes --]

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

end of thread, other threads:[~2013-03-20  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20  7:43 accept-process-output should return non-nil value Fabrice Popineau
2013-03-20  9:21 ` Andreas Schwab
2013-03-20  9:56   ` Fabrice Popineau

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.