unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15947: DocView interferes with etc/enriched.doc
@ 2013-11-21 18:22 Glenn Morris
  2013-11-21 18:35 ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2013-11-21 18:22 UTC (permalink / raw)
  To: 15947

Package: emacs
Version: 24.3.50

Current trunk on GNU/Linux:

emacs -Q ./etc/enriched.doc

You are supposed to see a buffer in enriched mode with coloured text and
other formatting. Instead DocView steals the buffer and renders an ugly
png with completely messed up formatting.

It works correctly in 24.3.





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

* bug#15947: DocView interferes with etc/enriched.doc
  2013-11-21 18:22 bug#15947: DocView interferes with etc/enriched.doc Glenn Morris
@ 2013-11-21 18:35 ` Glenn Morris
  2013-11-22  9:31   ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Glenn Morris @ 2013-11-21 18:35 UTC (permalink / raw)
  To: 15947

Glenn Morris wrote:

> It works correctly in 24.3.

I guess it would fail in 24.3 as well if I had "unoconv" installed.
doc-view-mode-maybe decides that the type is 'odf.





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

* bug#15947: DocView interferes with etc/enriched.doc
  2013-11-21 18:35 ` Glenn Morris
@ 2013-11-22  9:31   ` Bastien
  2013-11-22 17:04     ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Bastien @ 2013-11-22  9:31 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15947

Hi Glenn,

Glenn Morris <rgm@gnu.org> writes:

> Glenn Morris wrote:
>
>> It works correctly in 24.3.
>
> I guess it would fail in 24.3 as well if I had "unoconv" installed.
> doc-view-mode-maybe decides that the type is 'odf.

Using .doc as the extension is confusing to the user and to the
computer where those files may be (visually) associated with the
wrong program.

Maybe we should simply use another extension?

.ert (as Emacs Rich Text)

What do you think?

-- 
 Bastien





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

* bug#15947: DocView interferes with etc/enriched.doc
  2013-11-22  9:31   ` Bastien
@ 2013-11-22 17:04     ` Glenn Morris
  2013-11-22 18:02       ` Eli Zaretskii
       [not found]       ` <olvbzjhn5t.fsf@fencepost.gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Glenn Morris @ 2013-11-22 17:04 UTC (permalink / raw)
  To: Bastien; +Cc: 15947

Bastien wrote:

> Using .doc as the extension is confusing to the user and to the
> computer where those files may be (visually) associated with the
> wrong program.

Probably .doc is not a good extension these days.

> Maybe we should simply use another extension?
>
> .ert (as Emacs Rich Text)

I assume there was a reason why that wasn't done to start with.
Enriched mode is a minor mode, not a major mode.
I guess the idea is that you can use it with whatever major mode you
prefer (though I guess it would always be text mode in practice).

I think just using .txt for the example file would be better than making
up a new extension.

But it seems to me that it should work better than it does now even if
you use a .doc extension.





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

* bug#15947: DocView interferes with etc/enriched.doc
  2013-11-22 17:04     ` Glenn Morris
@ 2013-11-22 18:02       ` Eli Zaretskii
  2013-11-22 18:27         ` Bastien
       [not found]       ` <olvbzjhn5t.fsf@fencepost.gnu.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2013-11-22 18:02 UTC (permalink / raw)
  To: Glenn Morris; +Cc: bzg, 15947

> From: Glenn Morris <rgm@gnu.org>
> Date: Fri, 22 Nov 2013 12:04:08 -0500
> Cc: 15947@debbugs.gnu.org
> 
> I think just using .txt for the example file would be better than making
> up a new extension.

Exactly my thoughts.





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

* bug#15947: DocView interferes with etc/enriched.doc
  2013-11-22 18:02       ` Eli Zaretskii
@ 2013-11-22 18:27         ` Bastien
  0 siblings, 0 replies; 8+ messages in thread
From: Bastien @ 2013-11-22 18:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 15947

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Glenn Morris <rgm@gnu.org>
>> Date: Fri, 22 Nov 2013 12:04:08 -0500
>> Cc: 15947@debbugs.gnu.org
>> 
>> I think just using .txt for the example file would be better than making
>> up a new extension.
>
> Exactly my thoughts.

+1

-- 
 Bastien





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

* bug#15947: DocView interferes with etc/enriched.doc
       [not found]       ` <olvbzjhn5t.fsf@fencepost.gnu.org>
@ 2022-01-26 17:14         ` Lars Ingebrigtsen
  2022-02-23 20:14           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-26 17:14 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15947

Glenn Morris <rgm@gnu.org> writes:

>> But it seems to me that it should work better than it does now even if
>> you use a .doc extension.
>
> Leaving open as minor severity for this.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Has this been fixed in the meantime?  I'm not able to reproduce this
issue in Emacs 29 -- if I rename enriched.txt to enriched.doc, Emacs
does not use Docview to view it.  But I may be missing something in my
environment...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#15947: DocView interferes with etc/enriched.doc
  2022-01-26 17:14         ` Lars Ingebrigtsen
@ 2022-02-23 20:14           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-23 20:14 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15947

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Has this been fixed in the meantime?  I'm not able to reproduce this
> issue in Emacs 29 -- if I rename enriched.txt to enriched.doc, Emacs
> does not use Docview to view it.  But I may be missing something in my
> environment...

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2022-02-23 20:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-21 18:22 bug#15947: DocView interferes with etc/enriched.doc Glenn Morris
2013-11-21 18:35 ` Glenn Morris
2013-11-22  9:31   ` Bastien
2013-11-22 17:04     ` Glenn Morris
2013-11-22 18:02       ` Eli Zaretskii
2013-11-22 18:27         ` Bastien
     [not found]       ` <olvbzjhn5t.fsf@fencepost.gnu.org>
2022-01-26 17:14         ` Lars Ingebrigtsen
2022-02-23 20:14           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).