unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
@ 2024-02-20  1:10 Niels Søndergaard
  2024-02-20 13:40 ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Niels Søndergaard @ 2024-02-20  1:10 UTC (permalink / raw)
  To: 69282

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

Dear maintainers

Starting emacs from a newbuild version from sources 30.0.50 gives this warning: 

Warning (bytecomp): ‘pcase--flip’ is an obsolete macro (as of 30.1); use ‘_’ instead. [2 times]

The pcase—flip is found in “emacs-lisp/pcase.el” and “emacs-lisp/map.el” .

This is not fatal, but annoying.


Kindly regards
Niels

BTW. the current version freezes (appr. 1 degree Kelvin)very frequently (and I have no ideas why)


In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.3.0, NS
appkit-2487.40 Version 14.3.1 (Build 23D60)) of 2024-02-18 built on
macal.local
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.3.1

Configured using:
'configure --enable-profiling --enable-gcc-warnings=warn-only
--disable-silent-rules --with-dbus --with-native-compilation --with-ns
--with-xwidgets --with-mailutils --with-json --with-jpeg
--without-compress-install
'--program-transform-name=s/^ctags$/emctags/' CC=clang
'LDFLAGS=-L/opt/homebrew/opt/jpeg/lib:-L/opt/homebrew/opt/libtiff/lib:-L/opt/homebrew/opt/webp/lib:-L/opt/homebrew/opt/libxml2/lib:-L/opt/homebrew/opt/giflib/lib:-L/opt/homebrew/opt/jpeg/lib:-L/opt/homebrew/opt/libgccjit/lib/gcc/current:-L/opt/homebrew/opt/openssl@3/lib:-L/opt/homebrew/opt/curl/lib:-L/opt/homebrew/opt/python@3.11/lib:-L/opt/homebrew/opt/libxml2/lib:-L/opt/homebrew/opt/expat/lib:-L/opt/homebrew/opt/ruby/lib:
'
CPPFLAGS=-I/opt/homebrew/opt/jpeg/include:-I/opt/homebrew/opt/libtiff/include:-I/opt/homebrew/opt/cairo/include:-I/opt/homebrew/opt/libxml2/include:-I/opt/homebrew/opt/jpeg/include:-I/opt/homebrew/opt/giflib/include:-I/opt/homebrew/opt/openssl@3/include:-I/opt/homebrew/opt/libxml2/include:-I/opt/homebrew/opt/expat/include:-I/opt/homebrew/opt/curl/include:-I/opt/homebrew/opt/ruby/include:
PKG_CONFIG_PATH=/opt/homebrew/opt/libxml2/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/libxml2/lib/pkgconfig:/opt/homebrew/opt/python@3.11/lib/pkgconfig:/opt/homebrew/opt/curl/lib/pkgconfig:
OBJC=clang'

Configured features:
ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS ZLIB

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

Major mode: Dashboard

Minor modes in effect:
  all-the-icons-ivy-rich-mode: t
  dap-ui-mode: t
  treemacs-filewatch-mode: t
  treemacs-follow-mode: t
  treemacs-git-mode: t
  treemacs-fringe-indicator-mode: t
  dap-mode: t
  global-emojify-mode: t
  emojify-mode: t
  global-flycheck-mode: t
  org-roam-ui-mode: t
  org-roam-timestamps-mode: t
  org-roam-db-autosync-mode: t
  which-key-mode: t
  doom-modeline-mode: t
  display-time-mode: t
  dimmer-mode: t
  beacon-mode: t
  marginalia-mode: t
  company-quickhelp-mode: t
  company-quickhelp-local-mode: t
  global-company-mode: t
  company-mode: t
  async-bytecomp-package-mode: t
  global-hl-line-mode: t
  global-display-line-numbers-mode: t
  auto-insert-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  ctrlf-mode: t
  ctrlf-local-mode: t
  ido-everywhere: t
  ivy-mode: t
  savehist-mode: t
  gcmh-mode: t
  global-page-break-lines-mode: t
  page-break-lines-mode: t
  global-activity-watch-mode: t
  activity-watch-mode: t
  xterm-mouse-mode: t
  override-global-mode: t
  el-patch-use-package-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  straight-live-modifications-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  global-prettify-symbols-mode: t
  tab-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t

Load-path shadows:
/Users/niels/.emacs.d/straight/build/ivy-hydra/ivy-hydra hides /Users/niels/.emacs.d/straight/build/ivy/ivy-hydra
/Users/niels/.emacs.d/straight/build/transient/transient hides /Applications/Emacs.app/Contents/Resources/lisp/transient
/Users/niels/.emacs.d/straight/build/modus-themes/theme-loaddefs hides /Applications/Emacs.app/Contents/Resources/lisp/theme-loaddefs
~/.emacs.d/lisp/abbrev hides /Applications/Emacs.app/Contents/Resources/lisp/abbrev
/Users/niels/.emacs.d/straight/build/bind-key/bind-key hides /Applications/Emacs.app/Contents/Resources/lisp/bind-key
/Users/niels/.emacs.d/straight/build/use-package/use-package-jump hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-jump
/Users/niels/.emacs.d/straight/build/use-package/use-package-diminish hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-diminish
/Users/niels/.emacs.d/straight/build/use-package/use-package hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package
/Users/niels/.emacs.d/straight/build/use-package/use-package-delight hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-delight
/Users/niels/.emacs.d/straight/build/use-package/use-package-lint hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-lint
/Users/niels/.emacs.d/straight/build/use-package/use-package-core hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-core
/Users/niels/.emacs.d/straight/build/use-package/use-package-ensure hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-ensure
/Users/niels/.emacs.d/straight/build/use-package/use-package-bind-key hides /Applications/Emacs.app/Contents/Resources/lisp/use-package/use-package-bind-key
/Users/niels/.emacs.d/straight/build/compat/compat hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/compat
/Users/niels/.emacs.d/straight/build/map/map hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/map
/Users/niels/.emacs.d/straight/build/let-alist/let-alist hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/let-alist
/Users/niels/.emacs.d/straight/build/eldoc/eldoc hides /Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr emacsbug cursor-sensor all-the-icons-ivy-rich
ivy-rich tex-mode org-eldoc lsp-zig lsp-steep lsp-svelte lsp-sqls
lsp-ruby-syntax-tree lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar
lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3
lsp-toml lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-rust lsp-rf
lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh
lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml
lsp-magik lsp-nix lsp-nim lsp-nginx lsp-mint lsp-marksman lsp-markdown
lsp-lua lsp-latex lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe
lsp-groovy lsp-hack lsp-graphql lsp-gleam lsp-go lsp-completion
lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet
lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp
lsp-crystal lsp-cmake lsp-clojure lsp-semantic-tokens lsp-clangd
lsp-beancount lsp-bash lsp-astro lsp-ansible lsp-angular lsp-ada
lsp-actionscript dap-ui lsp-treemacs lsp-treemacs-generic
lsp-treemacs-themes treemacs-treelib treemacs treemacs-header-line
treemacs-compatibility treemacs-mode treemacs-bookmarks treemacs-tags
treemacs-interface treemacs-persistence treemacs-filewatch-mode
treemacs-follow-mode treemacs-rendering treemacs-annotations
treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator treemacs-scope pulse treemacs-faces
treemacs-icons treemacs-themes treemacs-core-utils pfuture
treemacs-logging treemacs-customization treemacs-macros gdb-mi gud bui
bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils
lsp-lens dap-mode dap-tasks dap-launch lsp-docker yaml posframe
dap-overlays lsp-mode lsp-protocol network-stream nsm markdown-mode
inline highlight-parentheses image-file image-converter
org-fancy-priorities toc-org org-superstar rainbow-delimiters
company-abbrev company-yasnippet emojify apropos tar-mode arc-mode
archive-mode flycheck org-roam-ui org-roam-dailies websocket bindat
simple-httpd ob-ruby ob-python python treesit ob-R ob-ditaa ob-dot ob-sh
shell writegood-mode org-web-tools esxml-query org-web-tools-autoloads
esxml-autoloads kv-autoloads org-agenda-views org-roam-ui-autoloads
websocket-autoloads simple-httpd-autoloads org-roam-timestamps
org-roam-timestamps-autoloads org-roam-ql-autoloads
org-roam-bibtex-autoloads emacsql-sqlite-builtin sqlite org-roam-migrate
org-roam-log org-roam-mode org-roam-capture org-roam-id org-roam-node
org-roam-db org-roam-utils org-roam-compat org-roam org-capture
emacsql-sqlite emacsql emacsql-compiler magit-section compat-27
compat-26 org-roam-autoloads emacsql-sqlite-autoloads envrc-autoloads
inheritenv-autoloads agenix-autoloads doct doct-autoloads
org-inline-clocking-buttons org-inline-clocking-buttons-mode org-journal
org-crypt cal-iso org-superstar-autoloads org-bars org-bars-autoloads
org-pomodoro-autoloads alert-autoloads log4e-autoloads gntp-autoloads
org-tree-slide-autoloads org-preview-html xwidget
org-preview-html-autoloads org-mime-autoloads toc-org-autoloads
org-rich-yank-autoloads org-fancy-priorities-autoloads ox-gfm
ox-gfm-autoloads pretty-symbols pretty-symbols-autoloads
org-dashboard-autoloads org-checklist orgtbl-aggregate calc-arith
calc-alg calc-aent calc-ext calc calc-loaddefs rect calc-macs org-lint
ox-texinfo ox-org ox-odt rng-loc rng-uri rng-parse rng-match rng-dt
rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-md
ox-koma-letter ox-icalendar ox-html table ox-beamer ox-latex ox-ascii
ox-publish ox org-attach org-tempo tempo org-indent oc-basic ol-eww eww
url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file gnus-group gnus-undo gnus-start gnus-dbus
gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec
gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec
epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils gnus-win gnus
nnheader gnus-util range mm-util mail-prsvr ol-docview doc-view
jka-compr image-mode exif ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi
org-link-doi org-archive 2048-game-autoloads flycheck-autoloads
pkg-info-autoloads epl-autoloads which-key which-key-autoloads
origami-autoloads move-text-autoloads doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core
all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons shrink-path
doom-modeline-autoloads ghub-autoloads treepy-autoloads info+-autoloads
time dimmer face-remap dimmer-autoloads beacon beacon-autoloads diminish
diminish-autoloads citar-autoloads citeproc-autoloads
string-inflection-autoloads queue-autoloads corfu-autoloads
embark-consult-autoloads embark-autoloads consult-autoloads orderless
orderless-autoloads marginalia marginalia-autoloads vertigo-autoloads
color-theme-approximate-autoloads gnuplot-autoloads xwidgete-autoloads
company-quickhelp pos-tip company-quickhelp-autoloads pos-tip-autoloads
company-try-hard-autoloads company-web company-css web-completion-data
company-web-autoloads web-completion-data-autoloads company-oddmuse
company-keywords company-etags etags fileloop company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company company-autoloads hl-block-mode-autoloads
rainbow-delimiters-autoloads highlight-parentheses-autoloads smex
smex-autoloads delight delight-autoloads all-the-icons-dired-autoloads
dired-rainbow dired-rainbow-autoloads dired-icon-autoloads dired-filter
dired-hacks-utils dired-aux dired-x dired dired-loaddefs
dired-filter-autoloads dired-subtree-autoloads
dired-hacks-utils-autoloads helm-org-ql org-ql-search org-ql-view
transient bookmark ov crm org-super-agenda ht helm-org helm-utils
helm-help helm-org-ql-autoloads org-ql peg ts org-habit org-agenda
org-element org-persist xdg org-id org-refile avl-tree org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete
org-list org-footnote org-faces org-entities time-date noutline outline
ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold
org-fold-core org-keys oc cal-menu calendar cal-loaddefs org-version
org-compat org-macs format-spec helm-bibtex-autoloads
bibtex-completion-autoloads biblio-autoloads biblio-core-autoloads
parsebib-autoloads helm-swoop-autoloads helm-git-grep-autoloads
helm-org-autoloads helm-ag-autoloads helm-config helm
helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source
helm-multi-match helm-lib async helm-autoloads popup-autoloads
helm-core-autoloads async-autoloads eglot external-completion jsonrpc
xref flymake project diff imenu lsp-latex-autoloads dap-mode-autoloads
lsp-docker-autoloads yaml-autoloads lsp-treemacs-autoloads
treemacs-autoloads cfrs-autoloads posframe-autoloads pfuture-autoloads
ace-window-autoloads bui-autoloads lsp-mode-autoloads eldoc-autoloads
markdown-mode-autoloads lorem-ipsum-autoloads hl-line
display-line-numbers paradox paradox-menu paradox-commit-list cus-edit
paradox-execute paradox-github paradox-core spinner paradox-autoloads
spinner-autoloads let-alist-autoloads shrink-path-autoloads
helpful-autoloads elisp-refs-autoloads ssh-autoloads
disk-usage-autoloads crux-autoloads use-package-hydra
use-package-hydra-autoloads major-mode-hydra pretty-hydra
major-mode-hydra-autoloads pretty-hydra-autoloads sfsymbols-modeline sf
fira-code-mode fira-code-mode-autoloads emacs-emojify-autoloads
elisp-autofmt loadhist general midnight aggressive-indent-autoloads
insert-char-preview-autoloads file-info browse-at-remote vc-git
diff-mode vc-dispatcher f f-shortdoc shortdoc s file-info-autoloads
browse-at-remote-autoloads yatemplate yatemplate-autoloads autoinsert
dropdown-list yasnippet-snippets yasnippet yasnippet-snippets-autoloads
yasnippet-autoloads modus-vivendi-theme modus-operandi-theme
modus-themes modus-themes-autoloads svg-icon svg dom pcase
general-autoloads org-loaddefs ctrlf-autoloads ido ivy-hydra hydra
advice lv ivy-hydra-autoloads hydra-autoloads lv-autoloads
all-the-icons-ivy-rich-autoloads all-the-icons-autoloads
ivy-rich-autoloads ivy delsel ivy-faces ivy-overlay colir color
ivy-autoloads avy avy-autoloads so-long bookmark+-autoloads no-littering
compat compat-macs no-littering-autoloads list-environment derived
exec-path-from-shell exec-path-from-shell-autoloads savehist
setup-optimizations gcmh gcmh-autoloads disp-table xterm-color dashboard
dashboard-widgets recentf tree-widget wid-edit ffap thingatpt
dashboard-autoloads page-break-lines page-break-lines-autoloads
free-keys activity-watch-mode request mailheader autorevert filenotify
mail-utils ert pp ewoc debug backtrace find-func
activity-watch-mode-autoloads finder-inf request-autoloads symon battery
dbus xml template xt-mouse cus-load eshell esh-cmd generator esh-ext
esh-opt esh-proc esh-io esh-arg pcomplete esh-module esh-groups esh-util
files-x dash-at-point-autoloads osx-lib-autoloads use-package-tags
use-package use-package-ensure use-package-diminish dash package
browse-url url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util mailcap url-handlers url-parse
auth-source eieio eieio-core password-cache json map url-vars
key-chord-autoloads magit-section-autoloads
emacsql-sqlite-builtin-autoloads emacsql-autoloads org-ql-autoloads
compile text-property-search comint ansi-osc ansi-color ring comp-run
comp comp-cstr comp-common warnings icons rx loaddefs-gen
generate-lisp-file lisp-mnt radix-tree transient-autoloads
compat-autoloads org-super-agenda-autoloads map-autoloads
ctable-autoloads peg-autoloads ts-autoloads ht-autoloads a-autoloads
ov-autoloads org-contrib-autoloads git-autoloads f-autoloads
dash-autoloads s-autoloads early-init use-package-delight edmacro kmacro
byte-opt use-package-bind-key bind-key easy-mmode use-package-core
el-patch-autoloads el-patch el-patch-stub use-package-autoloads info
bind-key-autoloads straight-autoloads cl-seq cl-extra help-mode straight
subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
kqueue cocoa ns lcms2 multi-tty make-network-process native-compile
emacs)

Memory information:
((conses 16 1191528 272770) (symbols 48 70922 21) (strings 32 309411 29574)
(string-bytes 1 17133062) (vectors 16 130999) (vector-slots 8 2372058 134422)
(floats 8 1961 13126) (intervals 56 10411 1143) (buffers 984 25))



Niels Søndergaard • civilingeniør
Address: Mariehøj 236, 2990 Nivå 
Mobile: +45 4052 2789 <tel:%20%20+45%204052%202789>
Website: algon.dk <https://algon.dk/>
Email: niels@algon.dk <mailto:niels@algon.dk>

 <about:blank#>
for at være fri er det ikke nok at kaste egne lænker, men at leve 
på en måde, der respektere og fremmer andres frihed.                                 
                                                                     — Nelson Mandela


[-- Attachment #2: Type: text/html, Size: 36382 bytes --]

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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-20  1:10 bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50 Niels Søndergaard
@ 2024-02-20 13:40 ` Eli Zaretskii
  2024-02-20 17:17   ` Niels Søndergaard
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-02-20 13:40 UTC (permalink / raw)
  To: Niels Søndergaard; +Cc: 69282

> Date: Tue, 20 Feb 2024 02:10:11 +0100
> From: Niels Søndergaard <niels@algon.dk>
> 
> Starting emacs from a newbuild version from sources 30.0.50 gives this warning: 
> 
> Warning (bytecomp): ‘pcase--flip’ is an obsolete macro (as of 30.1); use ‘_’ instead. [2 times]
> 
> The pcase—flip is found in “emacs-lisp/pcase.el” and “emacs-lisp/map.el” .
> 
> This is not fatal, but annoying.

I cannot reproduce this with the current master branch.  Could you
please post a recipe for reproducing the problem, starting from
"emacs -Q"?





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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-20 13:40 ` Eli Zaretskii
@ 2024-02-20 17:17   ` Niels Søndergaard
  2024-02-20 17:18     ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Niels Søndergaard @ 2024-02-20 17:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69282

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

Dear Eli,
It don’t show up with the emacs -Q start, and not each time I start emacs, but sometimes, and it’s (for me) clear, that what ’s bother the system.
Neither you or me should vaste too much time, as it’ not really an error, just a warning for the time being.

med venlig hilsen
Niels

> Den 20. feb. 2024 kl. 14.40 skrev Eli Zaretskii <eliz@gnu.org>:
> 
>> Date: Tue, 20 Feb 2024 02:10:11 +0100
>> From: Niels Søndergaard <niels@algon.dk>
>> 
>> Starting emacs from a newbuild version from sources 30.0.50 gives this warning: 
>> 
>> Warning (bytecomp): ‘pcase--flip’ is an obsolete macro (as of 30.1); use ‘_’ instead. [2 times]
>> 
>> The pcase—flip is found in “emacs-lisp/pcase.el” and “emacs-lisp/map.el” .
>> 
>> This is not fatal, but annoying.
> 
> I cannot reproduce this with the current master branch.  Could you
> please post a recipe for reproducing the problem, starting from
> "emacs -Q"?


[-- Attachment #2: Type: text/html, Size: 4438 bytes --]

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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-20 17:17   ` Niels Søndergaard
@ 2024-02-20 17:18     ` Eli Zaretskii
       [not found]       ` <61E8B275-161F-483F-9A01-EF43DFCA3523@algon.dk>
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-02-20 17:18 UTC (permalink / raw)
  To: Niels Søndergaard; +Cc: 69282

> Cc: 69282@debbugs.gnu.org
> Date: Tue, 20 Feb 2024 18:17:01 +0100
> From: Niels Søndergaard <niels@algon.dk>
> 
> It don’t show up with the emacs -Q start, and not each time I start emacs, but sometimes, and it’s (for me)
> clear, that what ’s bother the system.
> Neither you or me should vaste too much time, as it’ not really an error, just a warning for the time being.

Can you at least tell which file did you try to byte-compile when you
saw this warning?





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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
       [not found]       ` <61E8B275-161F-483F-9A01-EF43DFCA3523@algon.dk>
@ 2024-02-20 17:35         ` Eli Zaretskii
  2024-02-20 17:55           ` Niels Søndergaard
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-02-20 17:35 UTC (permalink / raw)
  To: Niels Søndergaard; +Cc: 69282

[Please use Reply All to reply, to keep the bug tracker CC'ed.]

> Date: Tue, 20 Feb 2024 18:22:18 +0100
> From: Niels Søndergaard <niels@algon.dk>
> 
> I’will try to figure it out, what happend is:
> 
> I start emacs (on my macOS with Apple silicon), I use emacs-dashboard, an the worning comes i window two
> with no indikaton (as I have seen).

Thanks.





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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-20 17:35         ` Eli Zaretskii
@ 2024-02-20 17:55           ` Niels Søndergaard
  2024-02-22  8:46             ` Niels Søndergaard
  0 siblings, 1 reply; 12+ messages in thread
From: Niels Søndergaard @ 2024-02-20 17:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69282


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

sorry….  (and as usual I have at lot of excuses for mysellf, but I’ll spare youfor that now)

Thing got a lot worse, I use to be able to build working versions out of the source 30.0.50, but just now I can’t

“emacs —debug-init" giving as shown on the picture:

--


the warning came also out, but I have no indication from wich file the warning came, as shown 

--



> Den 20. feb. 2024 kl. 18.35 skrev Eli Zaretskii <eliz@gnu.org>:
> 
> [Please use Reply All to reply, to keep the bug tracker CC'ed.]
> 
>> Date: Tue, 20 Feb 2024 18:22:18 +0100
>> From: Niels Søndergaard <niels@algon.dk>
>> 
>> I’will try to figure it out, what happend is:
>> 
>> I start emacs (on my macOS with Apple silicon), I use emacs-dashboard, an the worning comes i window two
>> with no indikaton (as I have seen).
> 
> Thanks.


[-- Attachment #1.2: Type: text/html, Size: 3646 bytes --]

[-- Attachment #2: Skærmbillede 2024-02-20 kl. 18.46.55.png --]
[-- Type: image/png, Size: 655204 bytes --]

[-- Attachment #3.1: Type: text/plain, Size: 100 bytes --]



the warning came also out, but I have no indication from wich file the warning came, as shown 

[-- Attachment #3.2: Type: text/html, Size: 212 bytes --]

[-- Attachment #4: Skærmbillede 2024-02-20 kl. 18.54.43.png --]
[-- Type: image/png, Size: 236128 bytes --]

[-- Attachment #5.1: Type: text/plain, Size: 464 bytes --]




> Den 20. feb. 2024 kl. 18.35 skrev Eli Zaretskii <eliz@gnu.org>:
> 
> [Please use Reply All to reply, to keep the bug tracker CC'ed.]
> 
>> Date: Tue, 20 Feb 2024 18:22:18 +0100
>> From: Niels Søndergaard <niels@algon.dk>
>> 
>> I’will try to figure it out, what happend is:
>> 
>> I start emacs (on my macOS with Apple silicon), I use emacs-dashboard, an the worning comes i window two
>> with no indikaton (as I have seen).
> 
> Thanks.


[-- Attachment #5.2: Type: text/html, Size: 661 bytes --]

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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-20 17:55           ` Niels Søndergaard
@ 2024-02-22  8:46             ` Niels Søndergaard
  2024-02-22 12:32               ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Niels Søndergaard @ 2024-02-22  8:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69282

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

Hello, 
I found the origin :

med venlig hilsen
Niels

 <about:blank#>
Niels Søndergaard • civilingeniør
Address: Mariehøj 236, 2990 Nivå 
Mobile: +45 4052 2789 <tel:%20%20+45%204052%202789>
Website: algon.dk <https://algon.dk/>
Email: niels@algon.dk <mailto:niels@algon.dk>
 <about:blank#> <about:blank#>
for at være fri er det ikke nok at kaste egne lænker, men at leve 
på en måde, der respektere og fremmer andres frihed.                                 
                                                                     — Nelson Mandela

> Den 20. feb. 2024 kl. 18.55 skrev Niels Søndergaard <niels@algon.dk>:
> 
> sorry….  (and as usual I have at lot of excuses for mysellf, but I’ll spare youfor that now)
> 
> Thing got a lot worse, I use to be able to build working versions out of the source 30.0.50, but just now I can’t
> 
> “emacs —debug-init" giving as shown on the picture:
> <Skærmbillede 2024-02-20 kl. 18.46.55.png>
> 
> the warning came also out, but I have no indication from wich file the warning came, as shown 
> <Skærmbillede 2024-02-20 kl. 18.54.43.png>
> 
> 
>> Den 20. feb. 2024 kl. 18.35 skrev Eli Zaretskii <eliz@gnu.org>:
>> 
>> [Please use Reply All to reply, to keep the bug tracker CC'ed.]
>> 
>>> Date: Tue, 20 Feb 2024 18:22:18 +0100
>>> From: Niels Søndergaard <niels@algon.dk>
>>> 
>>> I’will try to figure it out, what happend is:
>>> 
>>> I start emacs (on my macOS with Apple silicon), I use emacs-dashboard, an the worning comes i window two
>>> with no indikaton (as I have seen).
>> 
>> Thanks.
> 


[-- Attachment #2.1: Type: text/html, Size: 3519 bytes --]

[-- Attachment #2.2: emacs.err --]
[-- Type: application/octet-stream, Size: 11470 bytes --]


$ /Applications/Emacs.app/Contents/MacOS/Emacs -Q -L /Users/niels/.emacs.d/straight/build/org-ql/ --batch --eval \
 "(let ((default-directory \"/Users/niels/.emacs.d/straight/build/\"))
  (normal-top-level-add-subdirs-to-load-path)
  (byte-recompile-directory \"/Users/niels/.emacs.d/straight/build/org-ql/\" 0 'force))"
Checking /Users/niels/.emacs.d/straight/build/org-ql/...
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-autoloads.el...
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-completing-read.el...
org-ql.el: Warning: Case 'done will match ‘quote’.  If that’s intended, write (done quote) instead.  Otherwise, don’t quote ‘done’.

In org-ql-completing-read:
org-ql-completing-read.el:104:40: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-completing-read.el:104:55: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-find.el...
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-search.el...

In toplevel form:
org-ql-search.el:52:9: Warning: defvar ‘org-ql-block-header’ docstring wider than 80 characters

In org-ql-sparse-tree:
org-ql-search.el:108:20: Warning: ‘org-show-context’ is an obsolete function (as of 9.6); use ‘org-fold-show-context’ instead.
org-ql-search.el:111:10: Warning: ‘org-hide-archived-subtrees’ is an obsolete function (as of 9.6); use ‘org-fold-hide-archived-subtrees’ instead.

In org-ql-search:
org-ql-search.el:156:54: Warning: ‘eq’ called with literal list that may never match (arg 2)

In org-dblock-write:org-ql:
org-ql-search.el:250:2: Warning: docstring wider than 80 characters
org-ql-search.el:299:38: Warning: ‘org-make-link-string’ is an obsolete function (as of 9.3); use ‘org-link-make-string’ instead.

In org-ql-search-directories-files:
org-ql-search.el:348:2: Warning: docstring wider than 80 characters
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-view.el...

In org-ql-view-switch:
org-ql-view.el:306:47: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:306:62: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
org-ql-view.el:309:12: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:309:31: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.

In org-ql-view-customize:
org-ql-view.el:371:47: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:371:62: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.

In org-ql-view--link-store:
org-ql-view.el:692:10: Warning: ‘org-store-link-props’ is an obsolete function (as of 9.3); use ‘org-link-store-props’ instead.
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql.el...

In toplevel form:
org-ql.el:80:5: Warning: ‘org-bracket-link-regexp’ is an obsolete variable (as of 9.3); use ‘org-link-bracket-re’ instead.
org-ql.el:226:9: Warning: defvar ‘org-ql-regexp-planning’ docstring wider than 80 characters

In org-ql--select:
org-ql.el:503:2: Warning: docstring wider than 80 characters

In org-ql--plist-get*:
org-ql.el:700:2: Warning: docstring wider than 80 characters

In org-ql--sanity-check-form:
org-ql.el:769:29: Warning: Case 'done will match ‘quote’.  If that’s intended, write (done quote) instead.  Otherwise, don’t quote ‘done’.

In org-ql-defpred:
org-ql.el:1108:2: Warning: docstring has wrong usage of unescaped single quotes (use \=' or different quoting such as `...')

In org-ql--predicate-category:
org-ql.el:1321:2: Warning: docstring wider than 80 characters

In org-ql--duration-to-minutes:
org-ql.el:1343:16: Warning: ‘org-duration-string-to-minutes’ is an obsolete function (as of 9.1); use ‘org-duration-to-minutes’ instead.

In org-ql--predicate-effort:
org-ql.el:1346:2: Warning: docstring wider than 80 characters

In org-ql--predicate-level:
org-ql.el:1464:2: Warning: docstring wider than 80 characters

In org-ql--predicate-rifle:
org-ql.el:1578:2: Warning: docstring wider than 80 characters

In org-ql--predicate-path:
org-ql.el:1645:2: Warning: docstring wider than 80 characters

In org-ql--predicate-property:
org-ql.el:1732:2: Warning: docstring wider than 80 characters

In org-ql--predicate-src:
org-ql.el:1813:2: Warning: docstring wider than 80 characters
org-ql.el:1863:38: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.

In org-ql--predicate-tags-inherited:
org-ql.el:1895:2: Warning: docstring wider than 80 characters

In org-ql--predicate-tags-local:
org-ql.el:1909:2: Warning: docstring wider than 80 characters

In org-ql--predicate-todo:
org-ql.el:1951:2: Warning: docstring wider than 80 characters

In org-ql--predicate-deadline-warning:
org-ql.el:2164:2: Warning: docstring wider than 80 characters

In org-ql--org-timestamp-element<:
org-ql.el:2369:25: Warning: ‘org-timestamp-format’ is an obsolete function (as of Org 9.6); use ‘org-format-timestamp’ instead.
org-ql.el:2369:25: Warning: ‘org-timestamp-format’ is an obsolete function (as of Org 9.6); use ‘org-format-timestamp’ instead.
Done (Total of 5 files compiled, 1 skipped)

$ /Applications/Emacs.app/Contents/MacOS/Emacs -Q -L /Users/niels/.emacs.d/straight/build/org-ql/ --batch --eval \
 "(let ((default-directory \"/Users/niels/.emacs.d/straight/build/\"))
  (normal-top-level-add-subdirs-to-load-path)
  (byte-recompile-directory \"/Users/niels/.emacs.d/straight/build/org-ql/\" 0 'force))"
Checking /Users/niels/.emacs.d/straight/build/org-ql/...
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-autoloads.el...
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-completing-read.el...
org-ql.el: Warning: Case 'done will match ‘quote’.  If that’s intended, write (done quote) instead.  Otherwise, don’t quote ‘done’.

In org-ql-completing-read:
org-ql-completing-read.el:104:40: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-completing-read.el:104:55: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-find.el...
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-search.el...

In toplevel form:
org-ql-search.el:52:9: Warning: defvar ‘org-ql-block-header’ docstring wider than 80 characters

In org-ql-sparse-tree:
org-ql-search.el:108:20: Warning: ‘org-show-context’ is an obsolete function (as of 9.6); use ‘org-fold-show-context’ instead.
org-ql-search.el:111:10: Warning: ‘org-hide-archived-subtrees’ is an obsolete function (as of 9.6); use ‘org-fold-hide-archived-subtrees’ instead.

In org-ql-search:
org-ql-search.el:156:54: Warning: ‘eq’ called with literal list that may never match (arg 2)

In org-dblock-write:org-ql:
org-ql-search.el:250:2: Warning: docstring wider than 80 characters
org-ql-search.el:299:38: Warning: ‘org-make-link-string’ is an obsolete function (as of 9.3); use ‘org-link-make-string’ instead.

In org-ql-search-directories-files:
org-ql-search.el:348:2: Warning: docstring wider than 80 characters
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-view.el...

In org-ql-view-switch:
org-ql-view.el:306:47: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:306:62: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
org-ql-view.el:309:12: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:309:31: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.

In org-ql-view-customize:
org-ql-view.el:371:47: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:371:62: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.

In org-ql-view--link-store:
org-ql-view.el:692:10: Warning: ‘org-store-link-props’ is an obsolete function (as of 9.3); use ‘org-link-store-props’ instead.
Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql.el...

In toplevel form:
org-ql.el:80:5: Warning: ‘org-bracket-link-regexp’ is an obsolete variable (as of 9.3); use ‘org-link-bracket-re’ instead.
org-ql.el:226:9: Warning: defvar ‘org-ql-regexp-planning’ docstring wider than 80 characters

In org-ql--select:
org-ql.el:503:2: Warning: docstring wider than 80 characters

In org-ql--plist-get*:
org-ql.el:700:2: Warning: docstring wider than 80 characters

In org-ql--sanity-check-form:
org-ql.el:769:29: Warning: Case 'done will match ‘quote’.  If that’s intended, write (done quote) instead.  Otherwise, don’t quote ‘done’.

In org-ql-defpred:
org-ql.el:1108:2: Warning: docstring has wrong usage of unescaped single quotes (use \=' or different quoting such as `...')

In org-ql--predicate-category:
org-ql.el:1321:2: Warning: docstring wider than 80 characters

In org-ql--duration-to-minutes:
org-ql.el:1343:16: Warning: ‘org-duration-string-to-minutes’ is an obsolete function (as of 9.1); use ‘org-duration-to-minutes’ instead.

In org-ql--predicate-effort:
org-ql.el:1346:2: Warning: docstring wider than 80 characters

In org-ql--predicate-level:
org-ql.el:1464:2: Warning: docstring wider than 80 characters

In org-ql--predicate-rifle:
org-ql.el:1578:2: Warning: docstring wider than 80 characters

In org-ql--predicate-path:
org-ql.el:1645:2: Warning: docstring wider than 80 characters

In org-ql--predicate-property:
org-ql.el:1732:2: Warning: docstring wider than 80 characters

In org-ql--predicate-src:
org-ql.el:1813:2: Warning: docstring wider than 80 characters
org-ql.el:1863:38: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.

In org-ql--predicate-tags-inherited:
org-ql.el:1895:2: Warning: docstring wider than 80 characters

In org-ql--predicate-tags-local:
org-ql.el:1909:2: Warning: docstring wider than 80 characters

In org-ql--predicate-todo:
org-ql.el:1951:2: Warning: docstring wider than 80 characters

In org-ql--predicate-deadline-warning:
org-ql.el:2164:2: Warning: docstring wider than 80 characters

In org-ql--org-timestamp-element<:
org-ql.el:2369:25: Warning: ‘org-timestamp-format’ is an obsolete function (as of Org 9.6); use ‘org-format-timestamp’ instead.
org-ql.el:2369:25: Warning: ‘org-timestamp-format’ is an obsolete function (as of Org 9.6); use ‘org-format-timestamp’ instead.
Done (Total of 5 files compiled, 1 skipped)

[-- Attachment #2.3: Type: text/html, Size: 15897 bytes --]

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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-22  8:46             ` Niels Søndergaard
@ 2024-02-22 12:32               ` Eli Zaretskii
  2024-02-22 16:10                 ` Niels Søndergaard
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2024-02-22 12:32 UTC (permalink / raw)
  To: Niels Søndergaard; +Cc: 69282

> Cc: 69282@debbugs.gnu.org
> Date: Thu, 22 Feb 2024 09:46:50 +0100
> From: Niels Søndergaard <niels@algon.dk>
> 
> Hello, 
> I found the origin :

I see no reference to pcase--flip here?

Anyway, if this is about org-ql, I suggest that you report this to the
developer of org-ql.







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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-22 12:32               ` Eli Zaretskii
@ 2024-02-22 16:10                 ` Niels Søndergaard
  2024-02-22 17:29                   ` Niels Søndergaard
  2024-02-22 21:58                   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 12+ messages in thread
From: Niels Søndergaard @ 2024-02-22 16:10 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69282

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

I am experiencing confusion at a higher level regarding the pcase—flip function. This function can be found in the files "emacs-lisp/pcase.el" and "emacs-lisp/map.el", however, I am unable to grasp its concept consistently.

so I rest my case for now……

Sorry I bothered you witjhout reproducible proof.

med venlig hilsen

Niels

> Den 22. feb. 2024 kl. 13.32 skrev Eli Zaretskii <eliz@gnu.org>:
> 
>> Cc: 69282@debbugs.gnu.org
>> Date: Thu, 22 Feb 2024 09:46:50 +0100
>> From: Niels Søndergaard <niels@algon.dk>
>> 
>> Hello, 
>> I found the origin :
> 
> I see no reference to pcase--flip here?
> 
> Anyway, if this is about org-ql, I suggest that you report this to the
> developer of org-ql.
> 
> 


[-- Attachment #2: Type: text/html, Size: 4258 bytes --]

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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-22 16:10                 ` Niels Søndergaard
@ 2024-02-22 17:29                   ` Niels Søndergaard
  2024-02-22 19:05                     ` Eli Zaretskii
  2024-02-22 21:58                   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 12+ messages in thread
From: Niels Søndergaard @ 2024-02-22 17:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 69282

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

OK it’s in org-ql, and I have reported it there


the ticket can be closed
med venlig hilsen
Niels


> Den 22. feb. 2024 kl. 17.10 skrev Niels Søndergaard <niels@algon.dk>:
> 
> I am experiencing confusion at a higher level regarding the pcase—flip function. This function can be found in the files "emacs-lisp/pcase.el" and "emacs-lisp/map.el", however, I am unable to grasp its concept consistently.
> 
> so I rest my case for now……
> 
> Sorry I bothered you witjhout reproducible proof.
> 
> med venlig hilsen
> 
> Niels
> 
>> Den 22. feb. 2024 kl. 13.32 skrev Eli Zaretskii <eliz@gnu.org>:
>> 
>>> Cc: 69282@debbugs.gnu.org
>>> Date: Thu, 22 Feb 2024 09:46:50 +0100
>>> From: Niels Søndergaard <niels@algon.dk>
>>> 
>>> Hello, 
>>> I found the origin :
>> 
>> I see no reference to pcase--flip here?
>> 
>> Anyway, if this is about org-ql, I suggest that you report this to the
>> developer of org-ql.
>> 
>> 
> 
> 


[-- Attachment #2.1: Type: text/html, Size: 3545 bytes --]

[-- Attachment #2.2: emacs.error.txt --]
[-- Type: text/plain, Size: 5835 bytes --]

Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-view.el...

In toplevel form:
org-ql-view.el: Warning: ‘pcase--flip’ is an obsolete macro (as of 30.1); use ‘_’ instead.
org-ql-view.el: Warning: ‘pcase--flip’ is an obsolete macro (as of 30.1); use ‘_’ instead.

In org-ql-view-switch:
org-ql-view.el:306:47: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:306:62: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
org-ql-view.el:309:12: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:309:31: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.

In org-ql-view-customize:
org-ql-view.el:371:47: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘lineCompiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql.el...

In toplevel form:
org-ql.el:80:5: Warning: ‘org-bracket-link-regexp’ is an obsolete variable (as of 9.3); use ‘org-link-bracket-re’ instead.
org-ql.el:226:9: Warning: defvar ‘org-ql-regexp-planning’ docstring wider than 80 characters

In org-ql--select:
org-ql.el:503:2: Warning: docstring wider than 80 characters

In org-ql--plist-get*:
org-ql.el:700:2: Warning: docstring wider than 80 characters

In org-ql--sanity-check-form:
org-ql.el:769:29: Warning: Case 'done will match ‘quote’.  If that’s intended, write (done quote) instead.  Otherwise, don’t quote ‘done’.

In org-ql-defpred:
org-ql.el:1108:2: Warning: docstring has wrong usage of unescaped single quotes (use \=' or different quoting such as `...')

In org-ql--predicate-category:
org-ql.el:1321:2: Warning: docstring wider than 80 characters

In org-ql--duration-to-minutes:
org-ql.el:1343:16: Warning: ‘org-duration-string-to-minutes’ is an obsolete function (Compiling /Users/niels/.emacs.d/straight/build/org-ql/org-ql-search.el...

In toplevel form:
org-ql-search.el: Warning: ‘pcase--flip’ is an obsolete macro (as of 30.1); use ‘_’ instead.
org-ql-search.el: Warning: ‘pcase--flip’ is an obsolete macro (as of 30.1); use ‘_’ instead.
org-ql-search.el:52:9: Warning: defvar ‘org-ql-block-header’ docstring wider than 80 characters

In org-ql-sparse-tree:
org-ql-search.el:108:20: Warning: ‘org-show-context’ is an obsolete function (as of 9.6); use ‘org-fold-show-context’ instead.
org-ql-search.el:111:10: Warning: ‘org-hide-archived-subtrees’ is an obsolete function (as of 9.6); use ‘org-fold-hide-archived-subtrees’ instead.

In org-ql-search:
org-ql-search.el:156:54: Warning: ‘eq’ called with literal list that may never match (arg 2)

In org-dblock-write:org-ql:
org-ql-search.el:250:2: Warning: docstring wider than 80 characters
org-ql-search.el:299:38: Warning: ‘org-make-link-string’ is an obsolete function (as of 9.3); use Compiling /Users/niels/.config/nec-dev.emacs.d/straight/repos/straight.el/straight.el...
-beginning-position’ or ‘pos-bol’ instead.
org-ql-view.el:371:62: Warning: ‘point-at-eol’ is an obsolete function (as of 29.1); use ‘line-end-position’ or ‘pos-eol’ instead.
as of 9.1); use ‘org-duration-to-minutes’ instead.

In org-ql--predicate-effort:
org-ql.el:1346:2: Warning: docstring wider than 80 characters

In org-ql--predicate-level:
org-ql.el:1464:2: Warning: docstring wider than 80 characters

In org-ql--predicate-rifle:
org-ql.el:1578:2: Warning: docstring wider than 80 characters

In org-ql--predicate-path:
org-ql.el:1645:2: Warning: docstring wider than 80 characters

In org-ql--predicate-property:
org-ql.el:1732:2: Warning: docstring wider than 80 characters

In org-ql--predicate-src:
org-ql.el:1813:2: Warning: docstring wider than 80 characters
org-ql.el:1863:38: Warning: ‘point-at-bol’ is an obsolete function (as of 29.1); use ‘line-beginning-position’ or ‘pos-bol’ instead.

In org-ql--predicate-tags-inherited:
org-ql.el:1895:2: Warning: docstring wider than 80 characters

In org-ql--predicate-tags-local:
org-ql.el:1909:2: Warning: docstring wider than 80 characters

In org-ql--predicate-todo:
org-ql.el:1951:2: Warning: docstring wider than 80 ch‘org-link-make-string’ instead.

In org-ql-search-directories-files:
org-ql-search.el:348:2: Warning: docstring wider than 80 characters
aracters

In org-ql--predicate-deadline-warning:
org-ql.el:2164:2: Warning: docstring wider than 80 characters

In org-ql--org-timestamp-element<:
org-ql.el:2369:25: Warning: ‘org-timestamp-format’ is an obsolete function (as of Org 9.6); use ‘org-format-timestamp’ instead.
org-ql.el:2369:25: Warning: ‘org-timestamp-format’ is an obsolete function (as of Org 9.6); use ‘org-format-timestamp’ instead.

In org-ql-view--link-store:
org-ql-view.el:692:10: Warning: ‘org-store-link-props’ is an obsolete function (as of 9.3); use ‘org-link-store-props’ instead.

In end of data:
org-ql-view.el: Warning: the function ‘eieio-oset’ might not be defined at runtime.
org-ql-view.el: Warning: the function ‘eieio-oref’ might not be defined at runtime.
org-ql-view.el: Warning: the function ‘eieio-defclass-internal’ might not be defined at runtime.
org-ql-view.el: Warning: the function ‘eieio-make-child-predicate’ might not be defined at runtime.
org-ql-view.el: Warning: the function ‘eieio-make-class-predicate’ might not be defined at runtime.
org-ql-view.el:615:38: Warning: the function ‘url-path-and-query’ might not be defined at runtime.
Compilation finished.

[-- Attachment #2.3: Type: text/html, Size: 7822 bytes --]

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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-22 17:29                   ` Niels Søndergaard
@ 2024-02-22 19:05                     ` Eli Zaretskii
  0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2024-02-22 19:05 UTC (permalink / raw)
  To: Niels Søndergaard; +Cc: 69282-done

> Cc: 69282@debbugs.gnu.org
> Date: Thu, 22 Feb 2024 18:29:38 +0100
> From: Niels Søndergaard <niels@algon.dk>
> 
> OK it’s in org-ql, and I have reported it there
> 
> 
> the ticket can be closed

Thanks, done.





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

* bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50
  2024-02-22 16:10                 ` Niels Søndergaard
  2024-02-22 17:29                   ` Niels Søndergaard
@ 2024-02-22 21:58                   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 12+ messages in thread
From: Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-02-22 21:58 UTC (permalink / raw)
  To: Niels Søndergaard; +Cc: Eli Zaretskii, 69282

Niels Søndergaard <niels@algon.dk> writes:

> I am experiencing confusion at a higher level regarding the pcase—flip
> function. This function can be found in the files
> "emacs-lisp/pcase.el" and "emacs-lisp/map.el", however, I am unable to
> grasp its concept consistently.

It had been a macro, not a function.  All it did was transposing the
arguments in function calls (F X Y), e.g.

 (pcase--flip - 3 5) ; ~~> (- 5 3) --> 2

It had been used in "pcase.el" internally as a hack to simplify writing
of pred patterns when the matched value should not be called as last
argument as in the default behavior.


If you now compile code using `pcase--flip' using an Emacs version that
does not have it, the usual thing with unloaded macros happens: the
compiler doesn't know that it's a macro, so it assumes an unknown
function (this emits a compiler warning).  When running the code you get
a run-time error about an unknown function.

Michael.





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

end of thread, other threads:[~2024-02-22 21:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-20  1:10 bug#69282: 30.0.50; warning for obsolete macro in version 30.0.50 Niels Søndergaard
2024-02-20 13:40 ` Eli Zaretskii
2024-02-20 17:17   ` Niels Søndergaard
2024-02-20 17:18     ` Eli Zaretskii
     [not found]       ` <61E8B275-161F-483F-9A01-EF43DFCA3523@algon.dk>
2024-02-20 17:35         ` Eli Zaretskii
2024-02-20 17:55           ` Niels Søndergaard
2024-02-22  8:46             ` Niels Søndergaard
2024-02-22 12:32               ` Eli Zaretskii
2024-02-22 16:10                 ` Niels Søndergaard
2024-02-22 17:29                   ` Niels Søndergaard
2024-02-22 19:05                     ` Eli Zaretskii
2024-02-22 21:58                   ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors

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