unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
@ 2016-03-08 15:36 Jö Fahlke
  2016-03-10 14:49 ` Óscar Fuentes
  0 siblings, 1 reply; 17+ messages in thread
From: Jö Fahlke @ 2016-03-08 15:36 UTC (permalink / raw)
  To: 22944


Compilation mode does not recognise errors/warnings generated by CMake.
I fixed that locally by putting the following into my ~/.emacs:

(setq compilation-error-regexp-alist-alist
      `((cmake "^CMake \\(?:Error\\|\\(Warning\\)\\) at \\(.*\\):\\([1-9][0-9]*\\) ([^)]+):$"
               2 3 nil (1))
        (cmake-info "^  \\(?: \\*\\)?\\(.*\\):\\([1-9][0-9]*\\) ([^)]+)$"
               2 3 nil 0)
        . ,compilation-error-regexp-alist-alist))

and then customizing 'compilation-error-regexp-alist' to include the
predefined symbols 'cmake' and 'cmake-info'.

I checked that the current (2016-03-08) compile.el from master
(1f680dbc860164a7e16b624ca23c21ac58af31c2) does not include anything for
cmake.

I wanted to get that out there.  If anyone wants to turn that into a
proper patch, feel free, otherwise I might find time to do that myself
later.

Regards,
Jö.



In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-03-07 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11604000
System Description:	Debian GNU/Linux 8.3 (jessie)

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Magit

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
[CENSORED]

Recent messages:
[CENSORED]

Load-path shadows:
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.4/lisp/hex-util
/usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.4/lisp/md4
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst
/usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell
/usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell
/usr/share/emacs24/site-lisp/org-mode/org-protocol hides /usr/share/emacs/24.4/lisp/org/org-protocol
/usr/share/emacs24/site-lisp/org-mode/ob hides /usr/share/emacs/24.4/lisp/org/ob
/usr/share/emacs24/site-lisp/org-mode/org-list hides /usr/share/emacs/24.4/lisp/org/org-list
/usr/share/emacs24/site-lisp/org-mode/ob-sh hides /usr/share/emacs/24.4/lisp/org/ob-sh
/usr/share/emacs24/site-lisp/org-mode/ox-texinfo hides /usr/share/emacs/24.4/lisp/org/ox-texinfo
/usr/share/emacs24/site-lisp/org-mode/ob-sqlite hides /usr/share/emacs/24.4/lisp/org/ob-sqlite
/usr/share/emacs24/site-lisp/org-mode/org-footnote hides /usr/share/emacs/24.4/lisp/org/org-footnote
/usr/share/emacs24/site-lisp/org-mode/ob-gnuplot hides /usr/share/emacs/24.4/lisp/org/ob-gnuplot
/usr/share/emacs24/site-lisp/org-mode/ox-publish hides /usr/share/emacs/24.4/lisp/org/ox-publish
/usr/share/emacs24/site-lisp/org-mode/org-clock hides /usr/share/emacs/24.4/lisp/org/org-clock
/usr/share/emacs24/site-lisp/org-mode/ob-js hides /usr/share/emacs/24.4/lisp/org/ob-js
/usr/share/emacs24/site-lisp/org-mode/ob-sql hides /usr/share/emacs/24.4/lisp/org/ob-sql
/usr/share/emacs24/site-lisp/org-mode/ob-picolisp hides /usr/share/emacs/24.4/lisp/org/ob-picolisp
/usr/share/emacs24/site-lisp/org-mode/org-mouse hides /usr/share/emacs/24.4/lisp/org/org-mouse
/usr/share/emacs24/site-lisp/org-mode/ox hides /usr/share/emacs/24.4/lisp/org/ox
/usr/share/emacs24/site-lisp/org-mode/ox-man hides /usr/share/emacs/24.4/lisp/org/ox-man
/usr/share/emacs24/site-lisp/org-mode/ox-odt hides /usr/share/emacs/24.4/lisp/org/ox-odt
/usr/share/emacs24/site-lisp/org-mode/org-agenda hides /usr/share/emacs/24.4/lisp/org/org-agenda
/usr/share/emacs24/site-lisp/org-mode/org-mhe hides /usr/share/emacs/24.4/lisp/org/org-mhe
/usr/share/emacs24/site-lisp/org-mode/ob-keys hides /usr/share/emacs/24.4/lisp/org/ob-keys
/usr/share/emacs24/site-lisp/org-mode/ob-shen hides /usr/share/emacs/24.4/lisp/org/ob-shen
/usr/share/emacs24/site-lisp/org-mode/ob-latex hides /usr/share/emacs/24.4/lisp/org/ob-latex
/usr/share/emacs24/site-lisp/org-mode/ob-awk hides /usr/share/emacs/24.4/lisp/org/ob-awk
/usr/share/emacs24/site-lisp/org-mode/org-loaddefs hides /usr/share/emacs/24.4/lisp/org/org-loaddefs
/usr/share/emacs24/site-lisp/org-mode/ob-dot hides /usr/share/emacs/24.4/lisp/org/ob-dot
/usr/share/emacs24/site-lisp/org-mode/ob-matlab hides /usr/share/emacs/24.4/lisp/org/ob-matlab
/usr/share/emacs24/site-lisp/org-mode/org-bibtex hides /usr/share/emacs/24.4/lisp/org/org-bibtex
/usr/share/emacs24/site-lisp/org-mode/org-mobile hides /usr/share/emacs/24.4/lisp/org/org-mobile
/usr/share/emacs24/site-lisp/org-mode/ob-org hides /usr/share/emacs/24.4/lisp/org/ob-org
/usr/share/emacs24/site-lisp/org-mode/org-macro hides /usr/share/emacs/24.4/lisp/org/org-macro
/usr/share/emacs24/site-lisp/org-mode/org-gnus hides /usr/share/emacs/24.4/lisp/org/org-gnus
/usr/share/emacs24/site-lisp/org-mode/org-indent hides /usr/share/emacs/24.4/lisp/org/org-indent
/usr/share/emacs24/site-lisp/org-mode/ob-exp hides /usr/share/emacs/24.4/lisp/org/ob-exp
/usr/share/emacs24/site-lisp/org-mode/ob-emacs-lisp hides /usr/share/emacs/24.4/lisp/org/ob-emacs-lisp
/usr/share/emacs24/site-lisp/org-mode/org-irc hides /usr/share/emacs/24.4/lisp/org/org-irc
/usr/share/emacs24/site-lisp/org-mode/org hides /usr/share/emacs/24.4/lisp/org/org
/usr/share/emacs24/site-lisp/org-mode/ob-comint hides /usr/share/emacs/24.4/lisp/org/ob-comint
/usr/share/emacs24/site-lisp/org-mode/ob-python hides /usr/share/emacs/24.4/lisp/org/ob-python
/usr/share/emacs24/site-lisp/org-mode/org-archive hides /usr/share/emacs/24.4/lisp/org/org-archive
/usr/share/emacs24/site-lisp/org-mode/ob-asymptote hides /usr/share/emacs/24.4/lisp/org/ob-asymptote
/usr/share/emacs24/site-lisp/org-mode/org-macs hides /usr/share/emacs/24.4/lisp/org/org-macs
/usr/share/emacs24/site-lisp/org-mode/ob-lisp hides /usr/share/emacs/24.4/lisp/org/ob-lisp
/usr/share/emacs24/site-lisp/org-mode/ob-clojure hides /usr/share/emacs/24.4/lisp/org/ob-clojure
/usr/share/emacs24/site-lisp/org-mode/ob-lilypond hides /usr/share/emacs/24.4/lisp/org/ob-lilypond
/usr/share/emacs24/site-lisp/org-mode/ob-plantuml hides /usr/share/emacs/24.4/lisp/org/ob-plantuml
/usr/share/emacs24/site-lisp/org-mode/org-info hides /usr/share/emacs/24.4/lisp/org/org-info
/usr/share/emacs24/site-lisp/org-mode/org-timer hides /usr/share/emacs/24.4/lisp/org/org-timer
/usr/share/emacs24/site-lisp/org-mode/ob-makefile hides /usr/share/emacs/24.4/lisp/org/ob-makefile
/usr/share/emacs24/site-lisp/org-mode/org-id hides /usr/share/emacs/24.4/lisp/org/org-id
/usr/share/emacs24/site-lisp/org-mode/ob-haskell hides /usr/share/emacs/24.4/lisp/org/ob-haskell
/usr/share/emacs24/site-lisp/org-mode/ob-css hides /usr/share/emacs/24.4/lisp/org/ob-css
/usr/share/emacs24/site-lisp/org-mode/ox-ascii hides /usr/share/emacs/24.4/lisp/org/ox-ascii
/usr/share/emacs24/site-lisp/org-mode/org-rmail hides /usr/share/emacs/24.4/lisp/org/org-rmail
/usr/share/emacs24/site-lisp/org-mode/ob-core hides /usr/share/emacs/24.4/lisp/org/ob-core
/usr/share/emacs24/site-lisp/org-mode/ox-icalendar hides /usr/share/emacs/24.4/lisp/org/ox-icalendar
/usr/share/emacs24/site-lisp/org-mode/org-colview hides /usr/share/emacs/24.4/lisp/org/org-colview
/usr/share/emacs24/site-lisp/org-mode/ob-perl hides /usr/share/emacs/24.4/lisp/org/ob-perl
/usr/share/emacs24/site-lisp/org-mode/ob-fortran hides /usr/share/emacs/24.4/lisp/org/ob-fortran
/usr/share/emacs24/site-lisp/org-mode/org-habit hides /usr/share/emacs/24.4/lisp/org/org-habit
/usr/share/emacs24/site-lisp/org-mode/ox-md hides /usr/share/emacs/24.4/lisp/org/ox-md
/usr/share/emacs24/site-lisp/org-mode/ob-calc hides /usr/share/emacs/24.4/lisp/org/ob-calc
/usr/share/emacs24/site-lisp/org-mode/org-compat hides /usr/share/emacs/24.4/lisp/org/org-compat
/usr/share/emacs24/site-lisp/org-mode/org-src hides /usr/share/emacs/24.4/lisp/org/org-src
/usr/share/emacs24/site-lisp/org-mode/org-ctags hides /usr/share/emacs/24.4/lisp/org/org-ctags
/usr/share/emacs24/site-lisp/org-mode/ob-ledger hides /usr/share/emacs/24.4/lisp/org/ob-ledger
/usr/share/emacs24/site-lisp/org-mode/ob-scheme hides /usr/share/emacs/24.4/lisp/org/ob-scheme
/usr/share/emacs24/site-lisp/org-mode/org-faces hides /usr/share/emacs/24.4/lisp/org/org-faces
/usr/share/emacs24/site-lisp/org-mode/ob-eval hides /usr/share/emacs/24.4/lisp/org/ob-eval
/usr/share/emacs24/site-lisp/org-mode/org-w3m hides /usr/share/emacs/24.4/lisp/org/org-w3m
/usr/share/emacs24/site-lisp/org-mode/ox-org hides /usr/share/emacs/24.4/lisp/org/ox-org
/usr/share/emacs24/site-lisp/org-mode/org-docview hides /usr/share/emacs/24.4/lisp/org/org-docview
/usr/share/emacs24/site-lisp/org-mode/ob-scala hides /usr/share/emacs/24.4/lisp/org/ob-scala
/usr/share/emacs24/site-lisp/org-mode/ob-table hides /usr/share/emacs/24.4/lisp/org/ob-table
/usr/share/emacs24/site-lisp/org-mode/ob-maxima hides /usr/share/emacs/24.4/lisp/org/ob-maxima
/usr/share/emacs24/site-lisp/org-mode/ob-screen hides /usr/share/emacs/24.4/lisp/org/ob-screen
/usr/share/emacs24/site-lisp/org-mode/ox-html hides /usr/share/emacs/24.4/lisp/org/ox-html
/usr/share/emacs24/site-lisp/org-mode/org-eshell hides /usr/share/emacs/24.4/lisp/org/org-eshell
/usr/share/emacs24/site-lisp/org-mode/org-pcomplete hides /usr/share/emacs/24.4/lisp/org/org-pcomplete
/usr/share/emacs24/site-lisp/org-mode/org-bbdb hides /usr/share/emacs/24.4/lisp/org/org-bbdb
/usr/share/emacs24/site-lisp/org-mode/org-attach hides /usr/share/emacs/24.4/lisp/org/org-attach
/usr/share/emacs24/site-lisp/org-mode/org-element hides /usr/share/emacs/24.4/lisp/org/org-element
/usr/share/emacs24/site-lisp/org-mode/org-datetree hides /usr/share/emacs/24.4/lisp/org/org-datetree
/usr/share/emacs24/site-lisp/org-mode/ob-ref hides /usr/share/emacs/24.4/lisp/org/ob-ref
/usr/share/emacs24/site-lisp/org-mode/ob-octave hides /usr/share/emacs/24.4/lisp/org/ob-octave
/usr/share/emacs24/site-lisp/org-mode/ob-ocaml hides /usr/share/emacs/24.4/lisp/org/ob-ocaml
/usr/share/emacs24/site-lisp/org-mode/ob-ditaa hides /usr/share/emacs/24.4/lisp/org/ob-ditaa
/usr/share/emacs24/site-lisp/org-mode/ob-tangle hides /usr/share/emacs/24.4/lisp/org/ob-tangle
/usr/share/emacs24/site-lisp/org-mode/ob-C hides /usr/share/emacs/24.4/lisp/org/ob-C
/usr/share/emacs24/site-lisp/org-mode/ob-R hides /usr/share/emacs/24.4/lisp/org/ob-R
/usr/share/emacs24/site-lisp/org-mode/ob-ruby hides /usr/share/emacs/24.4/lisp/org/ob-ruby
/usr/share/emacs24/site-lisp/org-mode/ob-sass hides /usr/share/emacs/24.4/lisp/org/ob-sass
/usr/share/emacs24/site-lisp/org-mode/org-plot hides /usr/share/emacs/24.4/lisp/org/org-plot
/usr/share/emacs24/site-lisp/org-mode/ox-beamer hides /usr/share/emacs/24.4/lisp/org/ox-beamer
/usr/share/emacs24/site-lisp/org-mode/ob-lob hides /usr/share/emacs/24.4/lisp/org/ob-lob
/usr/share/emacs24/site-lisp/org-mode/ox-latex hides /usr/share/emacs/24.4/lisp/org/ox-latex
/usr/share/emacs24/site-lisp/org-mode/ob-mscgen hides /usr/share/emacs/24.4/lisp/org/ob-mscgen
/usr/share/emacs24/site-lisp/org-mode/org-entities hides /usr/share/emacs/24.4/lisp/org/org-entities
/usr/share/emacs24/site-lisp/org-mode/org-feed hides /usr/share/emacs/24.4/lisp/org/org-feed
/usr/share/emacs24/site-lisp/org-mode/org-install hides /usr/share/emacs/24.4/lisp/org/org-install
/usr/share/emacs24/site-lisp/org-mode/ob-java hides /usr/share/emacs/24.4/lisp/org/ob-java
/usr/share/emacs24/site-lisp/org-mode/org-table hides /usr/share/emacs/24.4/lisp/org/org-table
/usr/share/emacs24/site-lisp/org-mode/org-capture hides /usr/share/emacs/24.4/lisp/org/org-capture
/usr/share/emacs24/site-lisp/org-mode/org-inlinetask hides /usr/share/emacs/24.4/lisp/org/org-inlinetask
/usr/share/emacs24/site-lisp/org-mode/ob-io hides /usr/share/emacs/24.4/lisp/org/ob-io
/usr/share/emacs24/site-lisp/org-mode/org-crypt hides /usr/share/emacs/24.4/lisp/org/org-crypt
/usr/share/emacs24/site-lisp/org-mode/org-version hides /usr/share/emacs/24.4/lisp/org/org-version
/usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.4/lisp/net/sasl-digest
/usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.4/lisp/net/hmac-def
/usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.4/lisp/net/ntlm
/usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.4/lisp/net/hmac-md5
/usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.4/lisp/net/sasl
/usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.4/lisp/net/sasl-cram
/usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.4/lisp/net/sasl-ntlm
/usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/24.4/lisp/language/thai-word
/usr/share/emacs24/site-lisp/auctex/tex-buf hides /usr/share/emacs/site-lisp/auctex/tex-buf
/usr/share/emacs24/site-lisp/auctex/font-latex hides /usr/share/emacs/site-lisp/auctex/font-latex
/usr/share/emacs24/site-lisp/auctex/plain-tex hides /usr/share/emacs/site-lisp/auctex/plain-tex
/usr/share/emacs24/site-lisp/auctex/context-nl hides /usr/share/emacs/site-lisp/auctex/context-nl
/usr/share/emacs24/site-lisp/auctex/tex-fold hides /usr/share/emacs/site-lisp/auctex/tex-fold
/usr/share/emacs24/site-lisp/auctex/multi-prompt hides /usr/share/emacs/site-lisp/auctex/multi-prompt
/usr/share/emacs24/site-lisp/auctex/preview hides /usr/share/emacs/site-lisp/auctex/preview
/usr/share/emacs24/site-lisp/auctex/tex-jp hides /usr/share/emacs/site-lisp/auctex/tex-jp
/usr/share/emacs24/site-lisp/auctex/tex-bar hides /usr/share/emacs/site-lisp/auctex/tex-bar
/usr/share/emacs24/site-lisp/auctex/prv-emacs hides /usr/share/emacs/site-lisp/auctex/prv-emacs
/usr/share/emacs24/site-lisp/auctex/tex-mik hides /usr/share/emacs/site-lisp/auctex/tex-mik
/usr/share/emacs24/site-lisp/auctex/toolbar-x hides /usr/share/emacs/site-lisp/auctex/toolbar-x
/usr/share/emacs24/site-lisp/auctex/tex-style hides /usr/share/emacs/site-lisp/auctex/tex-style
/usr/share/emacs24/site-lisp/auctex/context-en hides /usr/share/emacs/site-lisp/auctex/context-en
/usr/share/emacs24/site-lisp/auctex/tex-font hides /usr/share/emacs/site-lisp/auctex/tex-font
/usr/share/emacs24/site-lisp/auctex/tex-info hides /usr/share/emacs/site-lisp/auctex/tex-info
/usr/share/emacs24/site-lisp/auctex/tex hides /usr/share/emacs/site-lisp/auctex/tex
/usr/share/emacs24/site-lisp/auctex/texmathp hides /usr/share/emacs/site-lisp/auctex/texmathp
/usr/share/emacs24/site-lisp/auctex/context hides /usr/share/emacs/site-lisp/auctex/context
/usr/share/emacs24/site-lisp/auctex/latex hides /usr/share/emacs/site-lisp/auctex/latex
/usr/share/emacs24/site-lisp/auctex/bib-cite hides /usr/share/emacs/site-lisp/auctex/bib-cite
/usr/share/emacs/24.4/lisp/emacs-lisp/cl-lib hides /usr/share/emacs/24.4/site-lisp/slime/lib/cl-lib
/usr/share/emacs/24.4/lisp/emacs-lisp/ert-x hides /usr/share/emacs/24.4/site-lisp/slime/lib/ert-x
/usr/share/emacs/24.4/lisp/emacs-lisp/ert hides /usr/share/emacs/24.4/site-lisp/slime/lib/ert

Features:
(shadow sort mail-extr warnings emacsbug sendmail eieio-opt speedbar
sb-image ezimage dframe help-mode magit-bisect magit-key-mode magit
diff-mode log-edit message rfc822 mml mml-sec mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev
mail-utils gmm-utils mailheader pcvs-util add-log dired server tramp
tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv
eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs
cl-macs trampver shell latex edmacro kmacro cl gv cl-loaddefs cl-lib
tex-style tex dbus xml org org-macro org-footnote org-pcomplete
pcomplete org-list org-faces org-entities time-date noutline outline
org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func cal-menu easymenu calendar
cal-loaddefs derived saveplace grep compile comint ansi-color ring
cus-start cus-load debian-el debian-el-loaddefs w3m-load slime-autoloads
org-install 50magit emacs-goodies-el emacs-goodies-custom
emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs
develock advice help-fns preview-latex tex-site auto-loads tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 212870 13453)
 (symbols 48 32678 0)
 (miscs 40 158 167)
 (strings 32 56311 6712)
 (string-bytes 1 1669947)
 (vectors 16 22797)
 (vector-slots 8 538466 9986)
 (floats 8 128 152)
 (intervals 56 884 0)
 (buffers 960 20)
 (heap 1024 58647 6726))





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-03-08 15:36 bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode Jö Fahlke
@ 2016-03-10 14:49 ` Óscar Fuentes
  2016-04-10 15:33   ` Jö Fahlke
  0 siblings, 1 reply; 17+ messages in thread
From: Óscar Fuentes @ 2016-03-10 14:49 UTC (permalink / raw)
  To: Jö Fahlke; +Cc: 22944

jorrit@jorrit.de (Jö Fahlke) writes:

> I wanted to get that out there.  If anyone wants to turn that into a
> proper patch, feel free, otherwise I might find time to do that myself
> later.

Please provide a proper patch and I will install it.





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-03-10 14:49 ` Óscar Fuentes
@ 2016-04-10 15:33   ` Jö Fahlke
  2016-04-10 17:24     ` Óscar Fuentes
  0 siblings, 1 reply; 17+ messages in thread
From: Jö Fahlke @ 2016-04-10 15:33 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 22944


[-- Attachment #1.1: Type: text/plain, Size: 1314 bytes --]

Am Thu, 10. Mar 2016, 15:49:01 +0100 schrieb Óscar Fuentes:
> 
> jorrit@jorrit.de (Jö Fahlke) writes:
> 
> > I wanted to get that out there.  If anyone wants to turn that into a
> > proper patch, feel free, otherwise I might find time to do that myself
> > later.
> 
> Please provide a proper patch and I will install it.

Hi!

Please find the patch attached.  It is in default "git format-patch"-format, I
hope that is OK.  git does not seem to support "diff -c" format (as per
"(emacs)Sending Patches").

There is one small issue: The regular expressions (after the patch) recognize
note lines of the form

"  cmake/modules/DuneGridMacros.cmake:19 (include)"

as well as

"  * cmake/modules/DuneGridMacros.cmake:19 (include)"

I was unable to reproduce examples of the second kind, so I did not put any
into etc/compilation.txt or the test, since I did not want to make them up.  I
took the regular expression from my ~/.emacs, so I'm pretty sure I came across
note lines of the second format at some point.

Regards,
Jö.

-- 
Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729

Of all the things I've lost, I miss my mind the most.
-- Ozzy Osbourne

[-- Attachment #1.2: 0001-Add-CMake-support-in-compilation-mode-Bug-22944.patch --]
[-- Type: text/x-diff, Size: 4008 bytes --]

From f86584c59f3ca463e439c5a9972b294744492967 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6=20Fahlke?= <jorrit@jorrit.de>
Date: Thu, 24 Mar 2016 18:22:43 +0100
Subject: [PATCH] Add CMake support in compilation-mode (Bug#22944)

* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add
regexps for matching CMake output.
* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add
CMake test cases.
* etc/compilation.txt (CMake): Add CMake examples.
---
 etc/NEWS                             |  5 +++++
 etc/compilation.txt                  | 26 ++++++++++++++++++++++++++
 lisp/progmodes/compile.el            |  7 +++++++
 test/lisp/progmodes/compile-tests.el |  7 +++++++
 4 files changed, 45 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 6ec82f8..efdb1a9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -118,6 +118,11 @@ in these situations.
 \f
 * Changes in Specialized Modes and Packages in Emacs 25.2
 
+** Compilation mode
+
+---
+*** Messages from CMake are now recognized.
+
 ** eww
 
 +++
diff --git a/etc/compilation.txt b/etc/compilation.txt
index d26af20..4a15312 100644
--- a/etc/compilation.txt
+++ b/etc/compilation.txt
@@ -84,6 +84,32 @@ Warning: this expression should have type unit.
   File "/tmp/foo.py", line 10
 
 
+* CMake
+
+symbols: cmake cmake-info
+
+CMake Error at CMakeLists.txt:19 (hurz):
+  Unknown CMake command "hurz".
+CMake Warning at cmake/modules/UseUG.cmake:73 (find_package):
+  Could not find a package configuration file provided by "UG" (requested
+  version 3.11.0) with any of the following names:
+
+    UGConfig.cmake
+    ug-config.cmake
+
+  Add the installation prefix of "UG" to CMAKE_PREFIX_PATH or set "UG_DIR" to
+  a directory containing one of the above files.  If "UG" provides a separate
+  development package or SDK, be sure it has been installed.
+Call Stack (most recent call first):
+  cmake/modules/DuneGridMacros.cmake:19 (include)
+  /home/joe/Projekte/EXA-DUNE/patches/dune-common/cmake/modules/DuneMacros.cmake:556 (include)
+  /home/joe/Projekte/EXA-DUNE/patches/dune-common/cmake/modules/DuneMacros.cmake:694 (dune_process_dependency_macros)
+  CMakeLists.txt:22 (dune_project)
+
+
+-- Could NOT find UG (missing:  UG_DIR HAVE_UG)
+
+
 * Apollo cc, 4.3BSD fc & IBM RS6000/AIX xlc compiler & Microtec mcc68k & GNAT (July 94)
 
 symbol: comma
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 0b15a28..5bfd35e 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -161,6 +161,13 @@ compilation-error-regexp-alist-alist
 \\(?: characters? \\([0-9]+\\)-?\\([0-9]+\\)?:\\)?\\([ \n]Warning\\(?: [0-9]+\\)?:\\)?\\)"
      2 (3 . 4) (5 . 6) (7))
 
+    (cmake
+     "^CMake \\(?:Error\\|\\(Warning\\)\\) at \\(.*\\):\\([1-9][0-9]*\\) ([^)]+):$"
+     2 3 nil (1))
+    (cmake-info
+     "^  \\(?: \\*\\)?\\(.*\\):\\([1-9][0-9]*\\) ([^)]+)$"
+     1 2 nil 0)
+
     (comma
      "^\"\\([^,\" \n\t]+\\)\", line \\([0-9]+\\)\
 \\(?:[(. pos]+\\([0-9]+\\))?\\)?[:.,; (-]\\( warning:\\|[-0-9 ]*(W)\\)?" 1 2 3 (4))
diff --git a/test/lisp/progmodes/compile-tests.el b/test/lisp/progmodes/compile-tests.el
index 6821a6b..8961576 100644
--- a/test/lisp/progmodes/compile-tests.el
+++ b/test/lisp/progmodes/compile-tests.el
@@ -79,6 +79,13 @@ compile-tests--test-regexps-data
      1 nil 302 "\\lib\\python\\Products\\PythonScripts\\PythonScript.py")
     ("File \"/tmp/foo.py\", line 10"
      1 nil 10 "/tmp/foo.py")
+    ;; cmake cmake-info
+    ("CMake Error at CMakeLists.txt:23 (hurz):"
+     1 nil 23 "CMakeLists.txt")
+    ("CMake Warning at cmake/modules/UseUG.cmake:73 (find_package):"
+     1 nil 73 "cmake/modules/UseUG.cmake")
+    ("  cmake/modules/DuneGridMacros.cmake:19 (include)"
+     1 nil 19 "cmake/modules/DuneGridMacros.cmake")
     ;; comma
     ("\"foo.f\", line 3: Error: syntax error near end of statement"
      1 nil 3 "foo.f")
-- 
2.1.4


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-10 15:33   ` Jö Fahlke
@ 2016-04-10 17:24     ` Óscar Fuentes
  2016-04-11 13:27       ` Jö Fahlke
  0 siblings, 1 reply; 17+ messages in thread
From: Óscar Fuentes @ 2016-04-10 17:24 UTC (permalink / raw)
  To: Jö Fahlke; +Cc: 22944

Jö Fahlke <jorrit@jorrit.de> writes:

> Please find the patch attached.

[snip]

Thanks!

To John W. or some other maintainer:

Does the submitted patch qualify as a paper-exempt change? I'm assuming
that the OP has no filed papers with the FSF.

The patch adds functionality without changing previous code. Does it
qualify for emacs-25?






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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-10 17:24     ` Óscar Fuentes
@ 2016-04-11 13:27       ` Jö Fahlke
  2016-04-11 23:07         ` Óscar Fuentes
  2016-04-23  1:21         ` Óscar Fuentes
  0 siblings, 2 replies; 17+ messages in thread
From: Jö Fahlke @ 2016-04-11 13:27 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 22944

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

Am Sun, 10. Apr 2016, 19:24:14 +0200 schrieb Óscar Fuentes:
> Does the submitted patch qualify as a paper-exempt change? I'm assuming
> that the OP has no filed papers with the FSF.

That is assumption is correct.  I'm of course willing to send those papers in,
barring any suprises in the fine print.  Though I'm not looking forward to it,
as I loathe paperwork, and as a consequence it will probably be more work than
the patch itself.

Regards,
Jö.

-- 
Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729

Das Erststudium soll bis zum berufsqualifizierenden Abschluss
gebührenfrei bleiben, also bis zur Erlangung der Taxi-Lizenz.
-- Akrützel, Ausgabe vom 16.5.2002 (www.akruetzel.de)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-11 13:27       ` Jö Fahlke
@ 2016-04-11 23:07         ` Óscar Fuentes
  2016-04-11 23:21           ` John Wiegley
  2016-04-23  1:21         ` Óscar Fuentes
  1 sibling, 1 reply; 17+ messages in thread
From: Óscar Fuentes @ 2016-04-11 23:07 UTC (permalink / raw)
  To: John Wiegley; +Cc: 22944, Jö Fahlke

Jö Fahlke <jorrit@jorrit.de> writes:

> Am Sun, 10. Apr 2016, 19:24:14 +0200 schrieb Óscar Fuentes:
>> Does the submitted patch qualify as a paper-exempt change? I'm assuming
>> that the OP has no filed papers with the FSF.
>
> That is assumption is correct.  I'm of course willing to send those papers in,
> barring any suprises in the fine print.  Though I'm not looking forward to it,
> as I loathe paperwork, and as a consequence it will probably be more work than
> the patch itself.

John,

Can you take a look at the patch submitted by Jö Fahlke and decide if it
requires the copyright assignment?

The patch is attached to this message:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22944#11

Thanks.





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-11 23:07         ` Óscar Fuentes
@ 2016-04-11 23:21           ` John Wiegley
  2016-04-18 12:19             ` Óscar Fuentes
  0 siblings, 1 reply; 17+ messages in thread
From: John Wiegley @ 2016-04-11 23:21 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 22944, Richard Stallman, Jö Fahlke

>>>>> Óscar Fuentes <ofv@wanadoo.es> writes:

> Can you take a look at the patch submitted by Jö Fahlke and decide if it
> requires the copyright assignment?

> The patch is attached to this message:

> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22944#11

Code-wise this is right at the edge. I think we can accept it without
assignment, but I'll defer to Richard to see what he thinks. It's just a few
regular expressions, constant values, and some documentation.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-11 23:21           ` John Wiegley
@ 2016-04-18 12:19             ` Óscar Fuentes
  2016-04-18 15:46               ` Glenn Morris
                                 ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Óscar Fuentes @ 2016-04-18 12:19 UTC (permalink / raw)
  To: John Wiegley; +Cc: 22944, Richard Stallman, Jö Fahlke

John Wiegley <jwiegley@gmail.com> writes:

>>>>>> Óscar Fuentes <ofv@wanadoo.es> writes:
>
>> Can you take a look at the patch submitted by Jö Fahlke and decide if it
>> requires the copyright assignment?
>
>> The patch is attached to this message:
>
>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22944#11
>
> Code-wise this is right at the edge. I think we can accept it without
> assignment, but I'll defer to Richard to see what he thinks. It's just a few
> regular expressions, constant values, and some documentation.

No response from Richard so far. I will commit the patch tomorrow if
nobody objects.

The question now is emacs-25 or master? The patch consists on doc
changes, a test case and two new elements for
compilation-error-regexp-alist-alist.





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-18 12:19             ` Óscar Fuentes
@ 2016-04-18 15:46               ` Glenn Morris
  2016-04-18 18:33               ` Eli Zaretskii
  2016-04-19  0:26               ` Richard Stallman
  2 siblings, 0 replies; 17+ messages in thread
From: Glenn Morris @ 2016-04-18 15:46 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: John Wiegley, 22944, Richard Stallman, Jö Fahlke


FWIW, looks ok to me as a tiny change.
(Hopefully we don't need to refer every such case to the head of the FSF.)
Personally I'd put it in master.

> I'm of course willing to send those papers in, barring any suprises in
> the fine print. Though I'm not looking forward to it, as I loathe
> paperwork, and as a consequence it will probably be more work than the
> patch itself.

I see from your signature that you are in Germany. Please note that the
entire process can be completed electronically via email and GPG. So it
may be simpler than you think. If you expect to contribute more to Emacs
in future, please complete the form at

http://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/Copyright/request-assign.future

Thanks.





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-18 12:19             ` Óscar Fuentes
  2016-04-18 15:46               ` Glenn Morris
@ 2016-04-18 18:33               ` Eli Zaretskii
  2016-04-19  0:26               ` Richard Stallman
  2 siblings, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2016-04-18 18:33 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: jwiegley, 22944, rms, jorrit

> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Mon, 18 Apr 2016 14:19:31 +0200
> Cc: 22944@debbugs.gnu.org, Richard Stallman <rms@gnu.org>,
> 	Jö Fahlke <jorrit@jorrit.de>
> 
> The question now is emacs-25 or master? The patch consists on doc
> changes, a test case and two new elements for
> compilation-error-regexp-alist-alist.

IMO, master.  The order of entries in
compilation-error-regexp-alist-alist does matter, and we've seen added
entries break those after them in the past.





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-18 12:19             ` Óscar Fuentes
  2016-04-18 15:46               ` Glenn Morris
  2016-04-18 18:33               ` Eli Zaretskii
@ 2016-04-19  0:26               ` Richard Stallman
  2016-04-19  0:56                 ` John Wiegley
  2 siblings, 1 reply; 17+ messages in thread
From: Richard Stallman @ 2016-04-19  0:26 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: jwiegley, 22944, jorrit

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > Code-wise this is right at the edge. I think we can accept it without
  > > assignment, but I'll defer to Richard to see what he thinks. It's just a few
  > > regular expressions, constant values, and some documentation.

  > No response from Richard so far. I will commit the patch tomorrow if
  > nobody objects.

I did not know this was waiting for me.  What is the question people
are asking me about?  Could someone explain the specific question to me?

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.






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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-19  0:26               ` Richard Stallman
@ 2016-04-19  0:56                 ` John Wiegley
  2016-04-19 23:50                   ` Richard Stallman
  0 siblings, 1 reply; 17+ messages in thread
From: John Wiegley @ 2016-04-19  0:56 UTC (permalink / raw)
  To: Richard Stallman; +Cc: Óscar Fuentes, 22944, jorrit

>>>>> Richard Stallman <rms@gnu.org> writes:

> I did not know this was waiting for me. What is the question people are
> asking me about? Could someone explain the specific question to me?

Whether the patch associated with this bug is beyond the limit for what's
accepted without a copyright assignment form.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-19  0:56                 ` John Wiegley
@ 2016-04-19 23:50                   ` Richard Stallman
  2016-04-20  0:16                     ` Óscar Fuentes
  2016-04-20  0:20                     ` John Wiegley
  0 siblings, 2 replies; 17+ messages in thread
From: Richard Stallman @ 2016-04-19 23:50 UTC (permalink / raw)
  To: John Wiegley; +Cc: ofv, 22944, jorrit

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > I did not know this was waiting for me. What is the question people are
  > > asking me about? Could someone explain the specific question to me?

  > Whether the patch associated with this bug is beyond the limit for what's
  > accepted without a copyright assignment form.

Could you please show me the patch?

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.






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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-19 23:50                   ` Richard Stallman
@ 2016-04-20  0:16                     ` Óscar Fuentes
  2016-04-20 23:46                       ` Richard Stallman
  2016-04-20  0:20                     ` John Wiegley
  1 sibling, 1 reply; 17+ messages in thread
From: Óscar Fuentes @ 2016-04-20  0:16 UTC (permalink / raw)
  To: Richard Stallman; +Cc: John Wiegley, 22944, jorrit

Richard Stallman <rms@gnu.org> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
>   > > I did not know this was waiting for me. What is the question people are
>   > > asking me about? Could someone explain the specific question to me?
>
>   > Whether the patch associated with this bug is beyond the limit for what's
>   > accepted without a copyright assignment form.
>
> Could you please show me the patch?



 
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 0b15a28..5bfd35e 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -161,6 +161,13 @@ compilation-error-regexp-alist-alist
 \\(?: characters? \\([0-9]+\\)-?\\([0-9]+\\)?:\\)?\\([ \n]Warning\\(?: [0-9]+\\)?:\\)?\\)"
      2 (3 . 4) (5 . 6) (7))
 
+    (cmake
+     "^CMake \\(?:Error\\|\\(Warning\\)\\) at \\(.*\\):\\([1-9][0-9]*\\) ([^)]+):$"
+     2 3 nil (1))
+    (cmake-info
+     "^  \\(?: \\*\\)?\\(.*\\):\\([1-9][0-9]*\\) ([^)]+)$"From f86584c59f3ca463e439c5a9972b294744492967 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6=20Fahlke?= <jorrit@jorrit.de>
Date: Thu, 24 Mar 2016 18:22:43 +0100
Subject: [PATCH] Add CMake support in compilation-mode (Bug#22944)

* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add
regexps for matching CMake output.
* test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): Add
CMake test cases.
* etc/compilation.txt (CMake): Add CMake examples.
---
 etc/NEWS                             |  5 +++++
 etc/compilation.txt                  | 26 ++++++++++++++++++++++++++
 lisp/progmodes/compile.el            |  7 +++++++
 test/lisp/progmodes/compile-tests.el |  7 +++++++
 4 files changed, 45 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 6ec82f8..efdb1a9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -118,6 +118,11 @@ in these situations.
 \f
 * Changes in Specialized Modes and Packages in Emacs 25.2
 
+** Compilation mode
+
+---
+*** Messages from CMake are now recognized.
+
 ** eww
 
 +++
diff --git a/etc/compilation.txt b/etc/compilation.txt
index d26af20..4a15312 100644
--- a/etc/compilation.txt
+++ b/etc/compilation.txt
@@ -84,6 +84,32 @@ Warning: this expression should have type unit.
   File "/tmp/foo.py", line 10
 
 
+* CMake
+
+symbols: cmake cmake-info
+
+CMake Error at CMakeLists.txt:19 (hurz):
+  Unknown CMake command "hurz".
+CMake Warning at cmake/modules/UseUG.cmake:73 (find_package):
+  Could not find a package configuration file provided by "UG" (requested
+  version 3.11.0) with any of the following names:
+
+    UGConfig.cmake
+    ug-config.cmake
+
+  Add the installation prefix of "UG" to CMAKE_PREFIX_PATH or set "UG_DIR" to
+  a directory containing one of the above files.  If "UG" provides a separate
+  development package or SDK, be sure it has been installed.
+Call Stack (most recent call first):
+  cmake/modules/DuneGridMacros.cmake:19 (include)
+  /home/joe/Projekte/EXA-DUNE/patches/dune-common/cmake/modules/DuneMacros.cmake:556 (include)
+  /home/joe/Projekte/EXA-DUNE/patches/dune-common/cmake/modules/DuneMacros.cmake:694 (dune_process_dependency_macros)
+  CMakeLists.txt:22 (dune_project)
+
+
+-- Could NOT find UG (missing:  UG_DIR HAVE_UG)
+
+
 * Apollo cc, 4.3BSD fc & IBM RS6000/AIX xlc compiler & Microtec mcc68k & GNAT (July 94)
+     1 2 nil 0)
+
     (comma
      "^\"\\([^,\" \n\t]+\\)\", line \\([0-9]+\\)\
 \\(?:[(. pos]+\\([0-9]+\\))?\\)?[:.,; (-]\\( warning:\\|[-0-9 ]*(W)\\)?" 1 2 3 (4))
diff --git a/test/lisp/progmodes/compile-tests.el b/test/lisp/progmodes/compile-tests.el
index 6821a6b..8961576 100644
--- a/test/lisp/progmodes/compile-tests.el
+++ b/test/lisp/progmodes/compile-tests.el
@@ -79,6 +79,13 @@ compile-tests--test-regexps-data
      1 nil 302 "\\lib\\python\\Products\\PythonScripts\\PythonScript.py")
     ("File \"/tmp/foo.py\", line 10"
      1 nil 10 "/tmp/foo.py")
+    ;; cmake cmake-info
+    ("CMake Error at CMakeLists.txt:23 (hurz):"
+     1 nil 23 "CMakeLists.txt")
+    ("CMake Warning at cmake/modules/UseUG.cmake:73 (find_package):"
+     1 nil 73 "cmake/modules/UseUG.cmake")
+    ("  cmake/modules/DuneGridMacros.cmake:19 (include)"
+     1 nil 19 "cmake/modules/DuneGridMacros.cmake")
     ;; comma
     ("\"foo.f\", line 3: Error: syntax error near end of statement"
      1 nil 3 "foo.f")






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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-19 23:50                   ` Richard Stallman
  2016-04-20  0:16                     ` Óscar Fuentes
@ 2016-04-20  0:20                     ` John Wiegley
  1 sibling, 0 replies; 17+ messages in thread
From: John Wiegley @ 2016-04-20  0:20 UTC (permalink / raw)
  To: Richard Stallman; +Cc: ofv, 22944, jorrit

>>>>> Richard Stallman <rms@gnu.org> writes:

> Could you please show me the patch?

Please see:

https://debbugs.gnu.org/cgi/bugreport.cgi?att=1;filename=0001-Add-CMake-support-in-compilation-mode-Bug-22944.patch;bug=22944;msg=11

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2





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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-20  0:16                     ` Óscar Fuentes
@ 2016-04-20 23:46                       ` Richard Stallman
  0 siblings, 0 replies; 17+ messages in thread
From: Richard Stallman @ 2016-04-20 23:46 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: jwiegley, 22944, jorrit

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

Thanks for sending the actual patch.  It is ok to install this.

-- 
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.






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

* bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode
  2016-04-11 13:27       ` Jö Fahlke
  2016-04-11 23:07         ` Óscar Fuentes
@ 2016-04-23  1:21         ` Óscar Fuentes
  1 sibling, 0 replies; 17+ messages in thread
From: Óscar Fuentes @ 2016-04-23  1:21 UTC (permalink / raw)
  To: Jö Fahlke; +Cc: 22944-done

Committed to master as 912e9159818f7356d45cc28b6666680b9857d7e7

Thanks Jö for your patience and the elaborated patch.





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

end of thread, other threads:[~2016-04-23  1:21 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 15:36 bug#22944: 24.4; Wishlist: Support for cmake in compilation-mode Jö Fahlke
2016-03-10 14:49 ` Óscar Fuentes
2016-04-10 15:33   ` Jö Fahlke
2016-04-10 17:24     ` Óscar Fuentes
2016-04-11 13:27       ` Jö Fahlke
2016-04-11 23:07         ` Óscar Fuentes
2016-04-11 23:21           ` John Wiegley
2016-04-18 12:19             ` Óscar Fuentes
2016-04-18 15:46               ` Glenn Morris
2016-04-18 18:33               ` Eli Zaretskii
2016-04-19  0:26               ` Richard Stallman
2016-04-19  0:56                 ` John Wiegley
2016-04-19 23:50                   ` Richard Stallman
2016-04-20  0:16                     ` Óscar Fuentes
2016-04-20 23:46                       ` Richard Stallman
2016-04-20  0:20                     ` John Wiegley
2016-04-23  1:21         ` Óscar Fuentes

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).