Bug 911964

Summary: XEmacs incompatibility with emacs-common-ess (comint issue)
Product: [Fedora] Fedora Reporter: William D. McCoy <wdmccoy>
Component: xemacsAssignee: Jerry James <loganjerry>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: jamatos, loganjerry, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 03:37:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description William D. McCoy 2013-02-17 01:25:26 UTC
Description of problem:

Upon starting an interactive R session in XEmacs with ESS installed a message appears in the minibuffer saying:

"Fontifying region...(invalid-argument No such face comint-highlight-prompt)"

I am using the recently updated XEmacs: xemacs-21.5.33-4.fc17
which has been modified to recognize the :visible keyword in menus (see Bugzilla Bug 890565).

This is clearly an incompatibility with emacs-common-ess-12.09-2.fc17.  The documentation for that version of ESS now has this statement on p. 26 of the manual:

"Due to XEmacs lacking some features that ESS requires, ESS support of XEmacs ends with ESS 12.04-4. This decision will be re-visited in the future as XEmacs continues to sync with GNU Emacs."

So I guess there is no surprise that I am having a problem.  Nonetheless, I want to report the problem in the hope that XEmacs might be revised to be able to support ESS in the future.


Additional info:

When I give a line of input to R, this is the warning and backtrace that I get in the Warnings buffer:

(1) (general/warning) Error in font-lock-pre-idle-hook: Invalid argument: No such face, comint-highlight-prompt

Backtrace follows:

  backtrace(nil t)
  # bind (standard-output standard-output handler-arg-name)
  backtrace-in-condition-handler-eliminating-handler(#:call-trapping-errors-Ldc9FC5Hr)
  # bind (errstr #:call-trapping-errors-Ldc9FC5Hr)
  #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (#:call-trapping-errors-Ldc9FC5Hr) "...(17)" [#:call-trapping-errors-Ldc9FC5Hr errstr error-message-string lwarn general warning "Error in %s: %s\n\nBacktrace follows:\n\n%s" font-lock-pre-idle-hook backtrace-in-condition-handler-eliminating-handler] 8 0xbee>((invalid-argument "No such face" comint-highlight-prompt))
  put-nonduplicable-text-property(914 916 face comint-highlight-prompt)
  # bind (start end face newface override end start match highlight end highlights matcher keyword nkeywords iter old-progress progress bufname keywords case-fold-search loudly loudvar end start)
  font-lock-fontify-keywords-region(914 921 nil)
  # (unwind-protect ...)
  # bind (modified old-syntax-table buffer-undo-list inhibit-read-only buffer-file-name buffer-file-truename loudly end beg)
  font-lock-default-fontify-region(914 921 nil)
  # bind (loudly end beg)
  font-lock-fontify-region(914 921)
  # bind (val end beg)
  #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (beg end val) "...(5)" [end beg font-lock-fontify-region] 3 0xbf3>(914 921 t)
  map-range-table(#<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (beg end val) "...(5)" [end beg font-lock-fontify-region] 3 0xbf3> #<range-table [914 921) t 0x2>)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  byte-code("..." [font-lock-pending-buffer-table font-lock-mode font-lock-range-table buffer exit nil remhash buffer-live-p clear-range-table map-extents #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (ex dummy-maparg) "...(32)" [font-lock-range-table ex end beg extent-start-position extent-end-position 0 1 put-range-table t] 5 0xbf2> font-lock-pending t put-text-property map-range-table #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (beg end val) "...(5)" [end beg font-lock-fontify-region] 3 0xbf3>] 9)
  # (catch exit ...)
  # bind (dummy buffer)
  #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (buffer dummy) "...(4)" [exit (byte-code "	¬ÄŵÆ\"Ç!­¤È\n!rq~ÉÊÅËÌ&ÍedËÅ$ÎÏ\n\"+" [font-lock-pending-buffer-table font-lock-mode font-lock-range-table buffer exit nil remhash buffer-live-p clear-range-table map-extents #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (ex dummy-maparg) "...(32)" [font-lock-range-table ex end beg extent-start-position extent-end-position 0 1 put-range-table t] 5 0xbf2> font-lock-pending t put-text-property map-range-table #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (beg end val) "...(5)" [end beg font-lock-fontify-region] 3 0xbf3>] 9)] 2 0xbf4>(#<buffer "*R*"> t)
  # (unwind-protect ...)
  maphash(#<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (buffer dummy) "...(4)" [exit (byte-code "	¬ÄŵÆ\"Ç!­¤È\n!rq~ÉÊÅËÌ&ÍedËÅ$ÎÏ\n\"+" [font-lock-pending-buffer-table font-lock-mode font-lock-range-table buffer exit nil remhash buffer-live-p clear-range-table map-extents #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (ex dummy-maparg) "...(32)" [font-lock-range-table ex end beg extent-start-position extent-end-position 0 1 put-range-table t] 5 0xbf2> font-lock-pending t put-text-property map-range-table #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (beg end val) "...(5)" [end beg font-lock-fontify-region] 3 0xbf3>] 9)] 2 0xbf4> #<hash-table :size 0/29 :weakness key 0x607>)
  # (unwind-protect ...)
  # bind (#:match-data)
  font-lock-fontify-pending-extents()
  #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") nil "...(10)" [font-lock-pending-buffer-table hash-table-count 0 font-lock-fontify-pending-extents] 2 0xbef>()
  # (unwind-protect ...)
  call-with-condition-handler(#<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") (#:call-trapping-errors-Ldc9FC5Hr) "...(17)" [#:call-trapping-errors-Ldc9FC5Hr errstr error-message-string lwarn general warning "Error in %s: %s\n\nBacktrace follows:\n\n%s" font-lock-pre-idle-hook backtrace-in-condition-handler-eliminating-handler] 8 0xbee> #<compiled-function (from "/usr/share/xemacs-21.5-b33/lisp/font-lock.elc") nil "...(10)" [font-lock-pending-buffer-table hash-table-count 0 font-lock-fontify-pending-extents] 2 0xbef>)
  # (condition-case ... . ((error)))
  font-lock-pre-idle-hook()
  # (unwind-protect ...)
  # (catch #<INTERNAL OBJECT (XEmacs bug?) (opaque, size=0) 0x0> ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # bind (inhibit-quit)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # bind (inhibit-quit)
  # (condition-case ... . error)
  # (catch top-level ...)

Comment 1 William D. McCoy 2013-02-17 02:37:39 UTC
I meant to say that this appears to be an incompatibility with xemacs-ess not with emacs-common-ess (although the source rpm for the xemacs-ess that I have installed is emacs-common-ess-12.09-2.fc17.src.rpm).

Comment 2 Fedora End Of Life 2013-07-03 23:55:46 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Jerry James 2013-07-16 21:48:42 UTC
Moving to Rawhide.  I've done some work to try to solve this, but I'm afraid that the Emacs comint.el and XEmacs comint.el are light years apart at this time.  Fixing this is going to be difficult.

I *could* provide a band-aid that just makes XEmacs shut up, but it wouldn't really Do The Right Thing.

Comment 4 Jan Kurik 2015-07-15 14:51:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 5 José Matos 2015-07-27 15:28:59 UTC
I have updated the package in http://koji.fedoraproject.org/koji/taskinfo?taskID=10494136 and while doing that I have removed the xemacs sub-packages.

The purpose of the build was to remove the FTBFS status that could remove the package from Fedora. :-)

I have obsoleted the xemacs sub-packages since the build process fails and upstream says that they are not supported.

If upstream change their stance we can always bring the xemacs sub-packages back to fedora.

Comment 6 Jerry James 2016-02-18 03:37:24 UTC
Upstream XEmacs development has basically come to a halt.  This bug is never going to be fixed, I'm afraid.  I'm closing this bug for now.  If a developer surfaces who wishes to do the necessary syncing with Emacs, we can reopen this bug.