[ESS] "An indirect buffer cannot visit a file."

Vitalie Spinu spinuvit at gmail.com
Mon Mar 21 02:12:07 CET 2016


I think you are using old version of polymode. This buffer-killing issue has
been fixed a while ago. In any case I cannot reproduce your problem with Rd
files.

  Vitalie

>> On Sun, Mar 20 2016 16:20, Richard M. Heiberger wrote:

> I see this in the examples section of .Rd files.

> The .Rd file appears in *Buffer List* twice, once as ESS[S] [none] and
> once as Rd.

> A related consequence is that when I quit C-x C-c an Rd file,
> while the cursor is in the examples section, the quit doesn't work and also
> doesn't give a warning.

> Rich

> On Sun, Mar 20, 2016 at 3:52 PM, Brian Hobbs <rebdh at channing.harvard.edu> wrote:
>> I noticed this peculiarity myself a few months ago. It does seem to only
>> occur in code chunks, so I have adapted to only saving buffers to new names
>> when in the latex or markdown sections of a document (and not in R code
>> chunks).
>>
>> Brian
>>
>> On Fri, Mar 18, 2016 at 4:45 PM, Stephen Eglen <sje30 at cam.ac.uk> wrote:
>>
>>> I wonder: does it happen when you are in a code chunk, but works ok when
>>> you are in a latex chunk?
>>>
>>>
>>> On Fri, Mar 18 2016, Christopher W. Ryan wrote:
>>>
>>> > Sometimes when editing an .Rnw file, working with R, Sweave, and
>>> > emacs, I want to save my current buffer under some other file name
>>> > than the file it came from, and sometimes I will get this error
>>> > message:
>>> >
>>> > "An indirect buffer cannot visit a file."
>>> >
>>> > I have not yet found a patter as to the conditions under which this
>>> > error message pops up.
>>> >
>>> > I'm having a hard time understanding indirect buffers, but I've never
>>> > intentionally used or created one. I don't anticipate I will ever have
>>> > a need to. I don't know how a particular buffer becomes an indirect
>>> > buffer. Is there an indication somewhere, perhaps in the status bar,
>>> > that a buffer is an indirect one? And is there a way to turn an
>>> > indirect buffer back into a "regular" buffer?
>>> >
>>> > Thanks.
>>> >
>>> > --Chris Ryan
>>> >
>>> > ______________________________________________
>>> > ESS-help at r-project.org mailing list
>>> > https://stat.ethz.ch/mailman/listinfo/ess-help>>
>>> ______________________________________________
>>> ESS-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/ess-help>>
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help

> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list