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" Newsgroups: gmane.emacs.devel Subject: Customize yes-or-no-p prompt from Elisp? Date: Sat, 24 Dec 2022 21:22:41 -0800 Message-ID: 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="5680"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 25 06:23:44 2022 Return-path: Envelope-to: ged-emacs-devel@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 1p9JU7-0001Jj-Vw for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Dec 2022 06:23:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9JTG-0002U5-LB; Sun, 25 Dec 2022 00:22:50 -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 1p9JTE-0002Tw-Vf for emacs-devel@gnu.org; Sun, 25 Dec 2022 00:22:49 -0500 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9JTD-0000jn-7m for emacs-devel@gnu.org; Sun, 25 Dec 2022 00:22:48 -0500 Original-Received: by mail-pj1-x102f.google.com with SMTP id p4so8288605pjk.2 for ; Sat, 24 Dec 2022 21:22:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:mime-version:subject:cc:to:from :message-id:date:from:to:cc:subject:date:message-id:reply-to; bh=OeFu+PVch+fKbZ48T33hXwIIbl9QSpQa6Nm4Jm1058U=; b=QwLos85HXMWtAKE4yCrDLf6DRnTna1QKC2yEOLYX9gpaScq/WrxIHpWP1qtSaDIsCY 6ylHUnEMa1vt6iQE/hMUBFan5yWO9D0S9pu6yDMNE+wGlJ+Oiqf/GkeZqS4yvNRrRWNu FVgOXKA70K1SQ9q5DCHfw9oqEGJN2Tu/Idf8UxSJLaEUX90pd+jtUxBcEJBbephTSfPL q/TE6TUPUmlmpOhUIIbhTpDPm5w3HVKsU7g7AbVeGXRQCSjnj3rLqcBtEayjPcZf9u7/ SrdgTbec3vzOVqTEO8Dqi6YEUmeVAtfZcAm2xeI7SeEL8+bXUaunkMYLpScxblJ0wnj6 Rbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:subject:cc:to:from :message-id:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OeFu+PVch+fKbZ48T33hXwIIbl9QSpQa6Nm4Jm1058U=; b=eSqRsyqH/fAXHLJ5JiIY59tz09LJD8f2EntXdl5zskH8mNB+EJx+kJNnS7rHiLEdrb BpHQdebcSvu7aw1c2NssFFqbn4kSZoRr1bTeyYaZzv8Qbr6P5tGefauohYd7Ne963J6y 6fVeVuWLNxPr/5M5JJAYsMQbXY5Lb0OFGNdsGmOS3kv6+EKkTuG4fXReS1DMJ0T9qK2u WbfcWxOtx0dLsyL8kFZmWLH9ukogpRhVBwfB7M9a7+wGISTcGb177fYbY97ttT3j3DPa T7qaS80MCWr+ICuAgpD2BJN7ebmmFGM29DysK73LbgwJzuZG5qJJALTVgv4ZPnla4MX3 /xrQ== X-Gm-Message-State: AFqh2koazFAp85Nb5RD21uw8VxHcSqOCg6yqs9xRidFiJx0z7Ipm7l9F MMqkPIGNGyJg6+C7COoemiaD9kQNPr9IIsz2I3c= X-Google-Smtp-Source: AMrXdXsukrojCq4h9bVLu+BAAoPKXGQUgNW2JL57VqMxf4aAhRu6veFOjVGndGA3h3vEjwkFJfh1OA== X-Received: by 2002:a17:902:d905:b0:18d:6244:4676 with SMTP id c5-20020a170902d90500b0018d62444676mr16380124plz.18.1671945764664; Sat, 24 Dec 2022 21:22:44 -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 y12-20020a17090322cc00b00182d25a1e4bsm4752266plg.259.2022.12.24.21.22.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Dec 2022 21:22:43 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=raman@google.com; helo=mail-pj1-x102f.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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301893 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 🦮