From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60312: 30.0.50; Feature Request: Customize yes-or-n-p prompt from elisp: Date: Sun, 25 Dec 2022 07:22:46 -0800 Message-ID: Reply-To: "T.V Raman" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40476"; mail-complaints-to="usenet@ciao.gmane.io" To: 60312@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 25 16:23:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p9SqO-000AKV-QW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Dec 2022 16:23:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9Sq8-0000Rj-Qb; Sun, 25 Dec 2022 10:23:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9Sq7-0000Rb-86 for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 10:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9Sq6-0002mp-UC for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 10:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9Sq6-0002uE-DQ for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Dec 2022 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60312 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167198177811134 (code B ref -1); Sun, 25 Dec 2022 15:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Dec 2022 15:22:58 +0000 Original-Received: from localhost ([127.0.0.1]:49917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Sq1-0002tT-Gw for submit@debbugs.gnu.org; Sun, 25 Dec 2022 10:22:58 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Spz-0002tK-W6 for submit@debbugs.gnu.org; Sun, 25 Dec 2022 10:22:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9Spz-0000Qo-Ov for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 10:22:55 -0500 Original-Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9Spx-0002lq-0s for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 10:22:55 -0500 Original-Received: by mail-pl1-x630.google.com with SMTP id n4so9006180plp.1 for ; Sun, 25 Dec 2022 07:22:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=WzUa6OiCPFPSJnkpdLaFta5qE0HIoZ/NMuVXCG7tTC4=; b=IuaCd8YiwqKEhpZePIo9li3G5T6/gpE0SlNNlOGk0N9DWSatcfPpgk1WbnkBClnQv4 wuecIBuvNW1zp71Op/mgvCLAbGou3xN/2cmWa3dfthJymPB4x/b5gzNOPNJf0ov1K6l5 1osSyiJcIu/vYbDEZPKKDf9NzvOYv+aWJG6Pr/FHT81Z5zBcPMmuO2LjrrPZXKsUj5Bq 9udZcn5N0IQM8E8ymQt79ZV/AIFBJNr4DT+F4c7Ar3XC39BsjbNPw2Mfni/a1UNDOakl miaXgmb9YCzOOY7Q0Iy9iIQW4DWvgIa5jWJfFHJxMq8qnC25YbO6NKtUwLrwTO/5u+lF RQ4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WzUa6OiCPFPSJnkpdLaFta5qE0HIoZ/NMuVXCG7tTC4=; b=owMw2u1B7yNord1HUfOA4+C/3l9CbZfYYoXCv3SH9VUVGE1tXKaPff6O3832a5CfQG jL+rnmal4z9Hv2KeS1cEsb7IYTkj90UWYCRXqjhk8vZgINoFlsUYQqGeuQ47W/s/zdEW rKbWRXo61bqlhPvIpzk07bu91L8ZSq34hIDALYrTCP4L7MMr/LWAQyTuOEky7CSU6eyG n03vb9BLhacJgkjTMW4COk/nRoO/PN4EKg5eU1zVYEaiivmwUarYfEeNXEeNs4Xk1/Qk eW4vN3Q+OLQ80PE+AXqXtmFYh3sCZKdel2n9yZ9f5TnFWiRy7FSqL3jOhsbYdTo3TEEZ nY6w== X-Gm-Message-State: AFqh2kpq49v/GFdnoHj1YH/UZIIui9MNPZxMhSBxMFlk5t8tm7pV6M6E mbGT5olb5TP41rna9uwWVytdINqUxFsuTqMSLEk= X-Google-Smtp-Source: AMrXdXt/V258B6VU0eUVzjJjZY2aaUEQUb7a+psL8o5KlaV5w1v9iBWtRVfj/d/uSp5OtzFDL6WT5g== X-Received: by 2002:a05:6a21:6da5:b0:b0:4c16:10a6 with SMTP id wl37-20020a056a216da500b000b04c1610a6mr26558752pzb.0.1671981770205; Sun, 25 Dec 2022 07:22:50 -0800 (PST) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id q18-20020a170902c9d200b0018930dbc560sm5492489pld.96.2022.12.25.07.22.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 07:22:49 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=raman@google.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251851 Archived-At: At present this is hard-wired in the C file: https:/git.savannah.gnu.org/cgit/emacs.git/tree/src/fns.c?h=master#n3208 AUTO_STRING (yes_or_no, "(yes or no) "); I'd like to be able to customize this in some cases to something more terse --- hearing "yes or no " each time gets wordy. -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 In GNU Emacs 30.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-12-11 built on raman9 Repository revision: c9f61f134a9db6c7c5157d5df75f62d29cd4f8a7 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Debian GNU/Linux rodete Configured using: 'configure --enable-silent-rules --without-native-compilation --without-xwidgets --with-mailutils --without-compress-install' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Article Minor modes in effect: TeX-PDF-mode: t recentf-mode: t websearch-mode: t shx-global-mode: t shell-dirtrack-mode: t savehist-mode: t save-place-mode: t psession-mode: t psession-autosave-mode: t midnight-mode: t global-auto-revert-mode: t flx-ido-mode: t display-time-mode: t disable-mouse-global-mode: t company-statistics-mode: t company-prescient-mode: t prescient-persist-mode: t auto-correct-mode: t dired-omit-mode: t server-mode: t repeat-mode: t display-battery-mode: t ido-ubiquitous-mode: t ido-everywhere: t global-voice-lock-mode: t voice-lock-mode: t global-eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t buffer-read-only: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/raman/.emacs.d/elpa/lispy-20221114.2013/elpa hides /home/raman/.emacs.d/elpa/ivy-20220926.1250/elpa /home/raman/.emacs.d/elpa/transient-20221202.1727/transient hides /usr/local/share/emacs/30.0.50/lisp/transient /home/raman/.emacs.d/elpa/xref-1.6.0/xref hides /usr/local/share/emacs/30.0.50/lisp/progmodes/xref /home/raman/.emacs.d/elpa/project-0.9.3/project hides /usr/local/share/emacs/30.0.50/lisp/progmodes/project /home/raman/.emacs.d/elpa/flymake-1.2.2/flymake hides /usr/local/share/emacs/30.0.50/lisp/progmodes/flymake /home/raman/.emacs.d/elpa/eglot-20221020.1010/eglot hides /usr/local/share/emacs/30.0.50/lisp/progmodes/eglot /home/raman/emacs/lisp/emacspeak/lisp/tetris hides /usr/local/share/emacs/30.0.50/lisp/play/tetris Features: (shadow emacsbug vm-sort vm-virtual vm-delete vm-save tapestry vm-rfaddons vm-menu vm-window vm-toolbar vm-folder vm-undo vm-mouse vm-page vm-motion vm-minibuf vm-message vm-misc vm-macro emacspeak-vm u-vm-color bbdb-vm vm-mime vm-summary bbdb-mua bbdb-com emacspeak-bbdb bbdb bbdb-site vm vm-autoloads vm-vars vm-version emacspeak-epub light emacspeak-desktop desktop mailalias browse-at-remote sort smiley gnus-cite qp mm-archive mail-extr gnus-async gnus-bcklg gnus-dup gnus-ml disp-table utf-7 nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache epa-file bash-completion vc macrostep-c cmacexp timezone emacspeak-feeds jka-compr emacspeak-twittering twittering-mode pianobar emacspeak-pianobar misearch multi-isearch network-stream shr-color textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check url-cache mule-util emacspeak-url-template emacspeak-websearch emacspeak-dbus emacspeak-nm amixer preview reftex-dcr reftex-auc font-latex latex latex-flymake emacspeak-flymake flymake-proc flymake warnings tex-ispell tex-style tex crm smartparens-latex tex-mode cdlatex emacspeak-reftex reftex reftex-loaddefs reftex-vars oc-basic ol-info ol-bibtex emacspeak-bibtex bibtex recentf tree-widget emacspeak-sh-script sh-script smie executable dired-aux emacspeak-orgalist orgalist emacs-news-mode bug-reference emacspeak-lispy lispy emacspeak-hydra hydra lv delsel lispy-inline avy edebug debug backtrace help-fns radix-tree lispy-tags mode-local zoutline smartparens-org emacspeak-org ox-md ox-html emacspeak-etable table ox-publish ox org-element org-persist org-id org-refile avl-tree ol-eww org-tempo emacspeak-tempo tempo 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 ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs find-func emacspeak-calendar appt diary-lib diary-loaddefs solar cal-dst cal-menu calendar cal-loaddefs org-version org-compat org-macs soundscape files-x emacspeak-wizards vc-git emacspeak-diff-mode diff-mode vc-dispatcher common-lisp-snippets yasnippet-snippets emacspeak-yasnippet yasnippet emacspeak-smartparens smartparens-config smartparens-javascript smartparens-text smartparens-c smartparens emacspeak-hideshow hideshow company-graphviz-dot graphviz-dot-mode company-bbdb company-semantic company-template company-files company-abbrev company-keywords company-etags company-dabbrev-code company-dabbrev company-capf js treesit imenu emacspeak-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs color emacspeak-muggles format-spec emacspeak-xref emacspeak-widget emacspeak-auctex emacspeak-tab-bar emacspeak-slime emacspeak-shx emacspeak-project emacspeak-outline emacspeak-message emacspeak-kmacro emacspeak-info emacspeak-ido emacspeak-gnus gm-nnir nnir gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message yank-media rfc822 mml mml-sec emacspeak-epa epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win emacspeak-hide emacspeak-eww emacspeak-we emacspeak-xslt dom-addons emacspeak-custom emacspeak-compile emacspeak-company emacspeak-comint emacspeak-calc emacspeak-buff-menu emacspeak-arc emacspeak-advice emacspeak-cedet eww xdg url-queue shr pixel-fill kinsoku url-file svg dom mm-url auth-source-xoauth2 auth-source-pass smtpmail sendmail gnus nnheader gnus-util time-date mail-utils range websearch-mode websearch websearch-custom shx shell pcomplete savehist saveplace psession frameset async midnight gmaps autorevert filenotify flx-ido flx emacspeak-m-player emacspeak-amark ladspa emacspeak-dired locate time disable-mouse edmacro company-statistics company-prescient prescient char-fold company auto-correct cus-start dired-x dired dired-loaddefs modus-vivendi-theme modus-themes pcase cl-extra help-mode server diminish aster texmathp calc calc-loaddefs rect calc-macs repeat emacspeak-mpv emacspeak-google gweb g-utils slime-asdf grep slime-quicklisp slime-hyperdoc url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny slime-fancy slime-indentation slime-cl-indent cl-indent slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime easy-mmode compile etags fileloop generator xref project arc-mode archive-mode noutline outline comint ansi-osc ansi-color ring hyperspec thingatpt browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core password-cache json map url-vars mailcap file-xoauth2 kmacro emacs-startup emacspeak-setup outloud-voices emacspeak emacspeak-loaddefs emacspeak-preamble emacspeak-speak battery dbus ido-completing-read+ memoize cus-edit pp cus-load icons wid-edit minibuf-eldef ido xml subr-x sox-gen emacspeak-keymap emacspeak-pronounce emacspeak-sounds voice-defs voice-setup dtk-speak cl-seq nvm f f-shortdoc shortdoc text-property-search dash s cl-macs byte-opt advice info eglot-autoloads define-word-autoloads rg-autoloads vdiff-autoloads dwim-shell-command-autoloads common-lisp-snippets-autoloads bbdb-autoloads paradox-autoloads browse-at-remote-autoloads slime-company-autoloads async-autoloads flx-ido-autoloads free-keys-autoloads shx-autoloads cdlatex-autoloads fussy-autoloads ein-autoloads polymode-autoloads smartparens-autoloads systemd-autoloads forge-autoloads markdown-mode-autoloads stumpwm-mode-autoloads run-command-recipes-autoloads haskell-mode-autoloads elpy-autoloads arxiv-citation-autoloads js2-mode-autoloads company-fuzzy-autoloads ht-autoloads latex-table-wizard-autoloads list-utils-autoloads bytecomp byte-compile cl gv cl-loaddefs cl-lib diminish-autoloads f-autoloads graphviz-dot-mode-autoloads pydoc-autoloads elisp-refs-autoloads websearch-autoloads closql-autoloads emacsql-sqlite-autoloads biblio-autoloads biblio-core-autoloads auth-source-xoauth2-autoloads deadgrep-autoloads simple-httpd-autoloads project-autoloads pulseaudio-control-autoloads arxiv-mode-autoloads lispy-autoloads hydra-autoloads company-prescient-autoloads prescient-autoloads flx-autoloads calibredb-autoloads s-autoloads csound-mode-autoloads shut-up-autoloads el-fetch-autoloads jabber-autoloads srv-autoloads ghub-autoloads treepy-autoloads ace-window-autoloads avy-autoloads auctex-autoloads tex-site units-mode-autoloads ivy-autoloads csv-mode-autoloads notmuch-addr-autoloads notmuch-autoloads slime-autoloads macrostep-autoloads emacsql-autoloads exec-path-from-shell-autoloads xr-autoloads magit-autoloads magit-section-autoloads git-commit-autoloads transient-autoloads company-autoloads highlight-autoloads run-command-autoloads yasnippet-snippets-autoloads multi-autoloads yaml-autoloads parsebib-autoloads dash-autoloads rust-mode-autoloads xref-autoloads websocket-autoloads mpv-autoloads fsm-autoloads pos-tip-autoloads popup-autoloads request-deferred-autoloads request-autoloads go-mode-autoloads with-editor-autoloads compat-autoloads rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 2130427 878885) (symbols 48 73462 42) (strings 32 282795 97172) (string-bytes 1 8624592) (vectors 16 155045) (vector-slots 8 3400812 1380653) (floats 8 2279 1708) (intervals 56 97409 1611) (buffers 984 61)) -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮 -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮