Debian Bug report logs - #438664
rst.el: RFE rst-compile "multifile" support

version graph

Package: python-docutils; Maintainer for python-docutils is Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>; Source for python-docutils is src:python-docutils.

Reported by: "Trent W. Buck" <trentbuck@gmail.com>

Date: Sat, 18 Aug 2007 19:54:02 UTC

Severity: wishlist

Tags: upstream

Found in version python-docutils/0.4-4

Forwarded to http://sourceforge.net/p/docutils/bugs/127/

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#438664; Package python-docutils. Full text and rfc822 format available.

Acknowledgement sent to "Trent W. Buck" <trentbuck@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Trent W. Buck" <trentbuck@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rst.el: RFE rst-compile "multifile" support
Date: Sun, 19 Aug 2007 05:50:11 +1000
Package: python-docutils
Version: 0.4-4
Severity: wishlist
File: /usr/share/emacs/site-lisp/rst.el

[This is an upstream bug.]

The rst-compile function assumes the current buffer is the "master"
source file for a reST document.  When using the ..include::
directive, this is not necessarily the case.

In AuCTeX, a similar problem is solved by supporting a file-local
variable TeX-Master, which contains a string referring to the master
file.  I suggest the rst-compile function be similar extended to use
the reST-master file-local variable (if set), falling back on the
current behaviour (if not set).

An advantageous side effect is that files with a generic .txt
extension (or no extension) could be made to automatically use
rst-mode instead of the generic text-mode with the following elisp
(adapted from scheme48):

    (put 'reST-master 'safe-local-variable t)
    (add-hook 'hack-local-variables-hook
      (λ ()
         (when (and (boundp 'reST-master) reST-master)
           (rst-mode)
           (hack-local-variables-prop-line))))

References:

    http://www.gnu.org/software/auctex/manual/auctex/Multifile.html
    http://emacswiki.org/wiki/download/scheme48.el



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#438664; Package python-docutils. Full text and rfc822 format available.

Acknowledgement sent to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. Full text and rfc822 format available.

Message #10 received at 438664@bugs.debian.org (full text, mbox):

From: Simon McVittie <smcv@debian.org>
To: 438664@bugs.debian.org
Subject: Re: rst.el: RFE rst-compile "multifile" support
Date: Sat, 19 Jul 2008 02:56:17 +0100
[Message part 1 (text/plain, inline)]
tags 438664 + upstream
thanks

I notice you've reported some docutils bugs upstream already - would you mind
passing this one on to their BTS too? I'm afraid I'm emacs-illiterate,
so I wouldn't be able to do much more than copy and paste what
you've already said, and that seems an inefficient way to communicate :-)

    Simon
[signature.asc (application/pgp-signature, inline)]

Tags added: upstream Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Sat, 19 Jul 2008 02:00:05 GMT) Full text and rfc822 format available.

Set Bug forwarded-to-address to 'http://sourceforge.net/tracker/?func=detail&aid=2923814&group_id=38414&atid=422030'. Request was from Jakub Wilk <ubanus@users.sf.net> to control@bugs.debian.org. (Wed, 30 Dec 2009 21:57:02 GMT) Full text and rfc822 format available.

Changed Bug forwarded-to-address to 'http://sourceforge.net/p/docutils/bugs/127/' from 'http://sourceforge.net/tracker/?func=detail&aid=2923814&group_id=38414&atid=422030' Request was from Jakub Wilk <jwilk@debian.org> to control@bugs.debian.org. (Fri, 15 Mar 2013 23:03:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 06:35:09 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.