From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: doc-view.el: about cursor and filename display Date: Wed, 17 Oct 2007 10:39:04 +0200 Message-ID: <876416qgnr.fsf@baldur.tsdh.de> References: <87r6jw20p3.fsf@baldur.tsdh.de> <87przfbm9t.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192610367 17730 80.91.229.12 (17 Oct 2007 08:39:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2007 08:39:27 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 17 10:39:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ii4R3-0003f3-Hg for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2007 10:39:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ii4Qw-0005u7-8u for ged-emacs-devel@m.gmane.org; Wed, 17 Oct 2007 04:39:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ii4Qr-0005sl-Al for emacs-devel@gnu.org; Wed, 17 Oct 2007 04:39:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ii4Qp-0005rG-CV for emacs-devel@gnu.org; Wed, 17 Oct 2007 04:39:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ii4Qp-0005qz-7V for emacs-devel@gnu.org; Wed, 17 Oct 2007 04:39:11 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ii4Ql-0008BB-8y; Wed, 17 Oct 2007 04:39:07 -0400 Original-Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 02C8E32FC1; Wed, 17 Oct 2007 04:39:07 -0400 (EDT) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Wed, 17 Oct 2007 04:39:07 -0400 X-Sasl-enc: CDWHEvT1M5nTuL+MnUfHHfUHN1IXBeL4k3fiHsd0SP7t 1192610346 Original-Received: from baldur.tsdh.de (dslb-084-063-051-168.pools.arcor-ip.net [84.63.51.168]) by mail.messagingengine.com (Postfix) with ESMTP id B965768B; Wed, 17 Oct 2007 04:39:05 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAIAAACI8LKTAAAACXBIWXMAAArrAAAK6wGCiw1a AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYACmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAw NGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAwMAqJuBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAAB mElEQVRo3u2byxHCMAxEVQpXekgPKYI2aIJGUwNXLmT02ZXkRBcfMkxsv2hXtmzkeBzPY5/2XyuD YAB1ArS9tvf26TlV39jE142+rcURH6Hw0GQi441KUN13llUEk0Q6WMtuwYCuhCYyLzMgbAb5fa55 P+rz6DEJG03cERjjCQH694qq/MJLEcURhJ08A1MZoHw01nEWe1AtIL3ZO7MYo2NrhrIi0087lObj 3+0chHUC+rGh4hcQQbzAPoeiXz0l7cWqNK9ZOsZjFrCbx8rK5zVxp4vnO8nZx+udxSoizRYkkpGF scHTTyyyz7LGUVLJ1eojvueMJV9SyZWxnEe9X7NKuiAgvc0z6lnCOzNAfcPa8xJhx4vGnq1Ol1nb FJ5wUPHi6wWFT6oCHhVNbElKjj2jfn8uW4b0pNsRsFVE7BOX1DSPkobeoS54uwNVY14SkHWDEi+/ LQnI50rWYtuNTDpfVi08yLewzL8r0AhQzws30vkORlXUNAKkL79NBO1WTDeVWB9xLelBc5G8WFAD aP6KMIAGUK/2C9wW05DKIbRCAAAAGnpUWHRqcGVnOmNvbG9yc3BhY2UAAHjaMwIAADMAM4k4IzUA AAAmelRYdGpwZWc6c2FtcGxpbmctZmFjdG9yAAB42jOqMNIxrDAEYQARgwLpPZcvTwAAAABJRU5E rkJggg== Mail-Followup-To: rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 17 Oct 2007 01:02:47 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81054 Archived-At: Richard Stallman writes: > I'm not completely sure, but the docs lead me to the impression > that I can set `revert-buffer-function' in doc-view buffers to the > function that reconverts a file. In that function I could check > for currently running processes and revert/reconvert only if no > process is already running. > > Is the conversion done asynchronously? Yes. > If so, then yes you could easily check this way. I think the right > action is to kill the existing process and start a new one, because > that's what the user asked for. Yes, that wouldn't be a problem. > You could also indicate in the mode line that the process is running. doc-view indicates with a message and in the tooltip that conversion hasn't finished yet. Bye, Tassilo